aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2013-11-28 16:31:23 +0100
committerUros Bizjak <uros@gcc.gnu.org>2013-11-28 16:31:23 +0100
commit3c716922ad6b887c3471cff5b9748d2e3ae3174d (patch)
tree5f63042831525a3801814da49003609f5f415312 /libgcc/config
parent4d858799972aa80503e7d37254dda8fdb77b97ba (diff)
downloadgcc-3c716922ad6b887c3471cff5b9748d2e3ae3174d.zip
gcc-3c716922ad6b887c3471cff5b9748d2e3ae3174d.tar.gz
gcc-3c716922ad6b887c3471cff5b9748d2e3ae3174d.tar.bz2
sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
* config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro. From-SVN: r205488
Diffstat (limited to 'libgcc/config')
-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 b9eb166..1fa282d 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) \