summaryrefslogtreecommitdiff
path: root/libgcc/config/i386
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-28 15:31:23 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-28 15:31:23 +0000
commit1f88bc7951b32a6576a9219fa5676a29dcead06a (patch)
tree5f63042831525a3801814da49003609f5f415312 /libgcc/config/i386
parent018a47722d32be4d5ff9e494aa0f6f58a4817b19 (diff)
downloadgcc-1f88bc7951b32a6576a9219fa5676a29dcead06a.tar.gz
* config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205488 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config/i386')
-rw-r--r--libgcc/config/i386/32/sfp-machine.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgcc/config/i386/32/sfp-machine.h b/libgcc/config/i386/32/sfp-machine.h
index b9eb16633eb..1fa282d7afe 100644
--- a/libgcc/config/i386/32/sfp-machine.h
+++ b/libgcc/config/i386/32/sfp-machine.h
@@ -63,6 +63,16 @@
"g" ((USItype) (y1)), \
"2" ((USItype) (x0)), \
"g" ((USItype) (y0)))
+#define __FP_FRAC_ADDI_4(x3,x2,x1,x0,i) \
+ __asm__ ("add{l} {%4,%3|%3,%4}\n\t" \
+ "adc{l} {$0,%2|%2,0}\n\t" \
+ "adc{l} {$0,%1|%1,0}\n\t" \
+ "adc{l} {$0,%0|%0,0}" \
+ : "+r" ((USItype) (x3)), \
+ "+&r" ((USItype) (x2)), \
+ "+&r" ((USItype) (x1)), \
+ "+&r" ((USItype) (x0)) \
+ : "g" ((USItype) (i)))
#define _FP_MUL_MEAT_S(R,X,Y) \