diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2014-04-04 16:44:35 +0200 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2014-04-04 16:44:35 +0200 |
commit | f94a94b8466e84bfbde21ece6b0ebb1f1036602d (patch) | |
tree | 4c8f9eb140925e2c3636c2459e797ce6d66ebc94 | |
parent | 6ae25308ca53adf27af7a61cf995ed1bae8e0db9 (diff) | |
download | gmp-f94a94b8466e84bfbde21ece6b0ebb1f1036602d.tar.gz |
longlong.h (i386): Add comment about "cc" clobber.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | longlong.h | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2014-04-04 Marc Glisse <marc.glisse@inria.fr> + + * longlong.h (i386): Add comment about "cc" clobber. + 2014-04-04 Torbjorn Granlund <tege@gmplib.org> * acinclude.m4 (X86_64_PATTERN): Generalise patterns to allow "noavx" diff --git a/longlong.h b/longlong.h index f144dee9e..4f3adbb90 100644 --- a/longlong.h +++ b/longlong.h @@ -867,6 +867,8 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, UWtype, UWtype); #endif #endif +/* On x86 and x86_64, every asm implicitly clobbers "flags" and "fpsr", + so we don't need __CLOBBER_CC. */ #if (defined (__i386__) || defined (__i486__)) && W_TYPE_SIZE == 32 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ __asm__ ("addl %5,%k1\n\tadcl %3,%k0" \ |