translate: fabs, another prologue, one va_arg
[ia32rtools.git] / tests / reg_call6.expect.c
diff --git a/tests/reg_call6.expect.c b/tests/reg_call6.expect.c
new file mode 100644 (file)
index 0000000..faa9a0a
--- /dev/null
@@ -0,0 +1,16 @@
+void __fastcall sub_test(int a1, int a2)
+{
+  u32 ecx = (u32)a1;
+  u32 edx = (u32)a2;
+  u32 s_a3;
+  u32 s_a4;
+
+  s_a4 = ecx;
+  ecx <<= 9;
+  s_a3 = edx;
+  edx &= 0x7f;
+  ecx += 1;
+  sub_test2(ecx, edx, s_a3, s_a4);
+
+}
+