From 323272db175204b951f119dae4bd99ef05e20f13 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Tue, 7 Jan 2014 22:43:34 +0100 Subject: import vanilla x86_64 code as x32 --- src/math/x32/fmodl.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/math/x32/fmodl.s (limited to 'src/math/x32/fmodl.s') diff --git a/src/math/x32/fmodl.s b/src/math/x32/fmodl.s new file mode 100644 index 00000000..ca81e60c --- /dev/null +++ b/src/math/x32/fmodl.s @@ -0,0 +1,11 @@ +.global fmodl +.type fmodl,@function +fmodl: + fldt 24(%rsp) + fldt 8(%rsp) +1: fprem + fstsw %ax + sahf + jp 1b + fstp %st(1) + ret -- cgit v1.2.1