changeset 4927:1cb5e0e36251

<fizzie> echo \'double f(double a, double b) { return a + b; }\' | gcc -mfpmath=387 -x c - -o - -S -O2 | paste
author HackBot
date Mon, 29 Sep 2014 08:52:37 +0000
parents 8dbd7bc7edcb
children d62fa2c6ffb2
files paste/paste.2318
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/paste/paste.2318	Mon Sep 29 08:52:37 2014 +0000
@@ -0,0 +1,21 @@
+	.file	""
+	.text
+	.p2align 4,,15
+	.globl	f
+	.type	f, @function
+f:
+.LFB0:
+	.cfi_startproc
+	movsd	%xmm0, -8(%rsp)
+	fldl	-8(%rsp)
+	movsd	%xmm1, -8(%rsp)
+	fldl	-8(%rsp)
+	faddp	%st, %st(1)
+	fstpl	-8(%rsp)
+	movsd	-8(%rsp), %xmm0
+	ret
+	.cfi_endproc
+.LFE0:
+	.size	f, .-f
+	.ident	"GCC: (Debian 4.7.2-5) 4.7.2"
+	.section	.note.GNU-stack,"",@progbits