summaryrefslogtreecommitdiff
path: root/3/11_floating_point/52_args.c
diff options
context:
space:
mode:
Diffstat (limited to '3/11_floating_point/52_args.c')
-rw-r--r--3/11_floating_point/52_args.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/3/11_floating_point/52_args.c b/3/11_floating_point/52_args.c
new file mode 100644
index 0000000..a21a235
--- /dev/null
+++ b/3/11_floating_point/52_args.c
@@ -0,0 +1,20 @@
+double g1(double a, long b, float c, int d);
+// a in xmm0
+// b in %rdi
+// c in xmm1
+// d in %rsi
+double g2(int a, double *b, float *c, long d);
+// a in %edi
+// b in %rsi
+// c in %rdx
+// d in %rcx
+double g3(double *a, double b, int c, float d);
+// a in %rdi
+// b in %rsi
+// c in %edx
+// d in %xmm0
+double g4(float a, int *b, float c, double d);
+// a in %xmm0
+// b in %rdi
+// c in %xmm1
+// d in %rsi