@Test
	public void testFloatTruncOpGen() throws Exception {
		long d1dot0 = Double.doubleToLongBits(1.0);
		long d0dot5 = Double.doubleToLongBits(0.5);
		long dn0dot5 = Double.doubleToLongBits(-0.5);
		int f1dot0 = Float.floatToIntBits(1.0f);
		int f0dot5 = Float.floatToIntBits(0.5f);
		int fn0dot5 = Float.floatToIntBits(-0.5f);
		runEquivalenceTest(translateSleigh(ID_TOYBE64, """
				r0 = trunc(r1);
				r3 = trunc(r4l);
				r6l = trunc(r7);
				r9l = trunc(r10l);
				"""),
			List.of(
				new Case("+1.0", """
						r1  =0x%x;
						r4l =0x%x;
						r7  =0x%x;
						r10l=0x%x;
						""".formatted(d1dot0, f1dot0, d1dot0, f1dot0), List.of("r0", "r6")),
				new Case("+0.5", """
						r1  =0x%x;
						r4l =0x%x;
						r7  =0x%x;
						r10l=0x%x;
						""".formatted(d0dot5, f0dot5, d0dot5, f0dot5), List.of("r0", "r6")),
				new Case("-0.5", """
						r1  =0x%x;
						r4l =0x%x;
						r7  =0x%x;
						r10l=0x%x;
						""".formatted(dn0dot5, dn0dot5, dn0dot5, fn0dot5), List.of("r0", "r6"))));
	}
The size swap is not necessary, but test anyway.
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/pcode/emu/jit/gen/JitCodeGeneratorTest.java