summaryrefslogtreecommitdiff
path: root/lib/libm/arch/amd64/abi.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/arch/amd64/abi.h')
-rw-r--r--lib/libm/arch/amd64/abi.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/libm/arch/amd64/abi.h b/lib/libm/arch/amd64/abi.h
index cbfbd02c5f5..fdfc0517c16 100644
--- a/lib/libm/arch/amd64/abi.h
+++ b/lib/libm/arch/amd64/abi.h
@@ -14,8 +14,6 @@
* xmm regs to local variables.
*/
-#ifdef __x86_64__
-
#define ARG_DOUBLE_ONE -8(%rsp)
#define ARG_DOUBLE_TWO -16(%rsp)
#define ARG_FLOAT_ONE -4(%rsp)
@@ -45,29 +43,3 @@
#define FLDL_VAR(x) fldl x(%rip)
-#else
-
-#define ARG_DOUBLE_ONE 4(%esp)
-#define ARG_DOUBLE_TWO 12(%esp)
-#define ARG_FLOAT_ONE 4(%esp)
-#define ARG_FLOAT_TWO 8(%esp)
-
-#define XMM_ONE_ARG_DOUBLE_PROLOGUE
-#define XMM_TWO_ARG_DOUBLE_PROLOGUE
-#define XMM_ONE_ARG_FLOAT_PROLOGUE
-#define XMM_TWO_ARG_FLOAT_PROLOGUE
-
-#define XMM_DOUBLE_EPILOGUE
-#define XMM_FLOAT_EPILOGUE
-
-#ifdef PIC
-#define FLDL_VAR(x) \
- PIC_PROLOGUE ; \
- fldl PIC_GOTOFF(x) ; \
- PIC_EPILOGUE
-#else
-#define FLDL_VAR(x) \
- fldl x
-
-#endif
-#endif