aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-10-09 16:07:21 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-10-09 16:07:21 +0000
commit2d3f9198d2f9df8269eb921166acf689a8da0b94 (patch)
tree130f50508fc2bb1c30961f1955957cdb8577d0ac
parente477cbcb75b30e7e216ff619736bdc3168bc5db4 (diff)
downloadgcc-2d3f9198d2f9df8269eb921166acf689a8da0b94.zip
gcc-2d3f9198d2f9df8269eb921166acf689a8da0b94.tar.gz
gcc-2d3f9198d2f9df8269eb921166acf689a8da0b94.tar.bz2
longlong.h (count_leading_zeros): Replace '{' and '}' with '%{' and '%}', respectively.
* longlong.h (count_leading_zeros): Replace '{' and '}' with '%{' and '%}', respectively. From-SVN: r129169
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/longlong.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3a6eda7..a2ed483 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2007-10-09 Kazu Hirata <kazu@codesourcery.com>
+ * longlong.h (count_leading_zeros): Replace '{' and '}' with '%{'
+ and '%}', respectively.
+
+2007-10-09 Kazu Hirata <kazu@codesourcery.com>
+
* config/m68k/m68k.c (print_operand): Handle '{' and '}'.
* config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '{'
and '}'.
diff --git a/gcc/longlong.h b/gcc/longlong.h
index 8350fbc..59fdc5e 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -553,7 +553,7 @@ UDItype __umulsidi3 (USItype, USItype);
cpu32 disguises as a 68020, but lacks them. */
#if defined (__mc68020__) && !defined (__mcpu32__)
#define count_leading_zeros(count, x) \
- __asm__ ("bfffo %1{%b2:%b2},%0" \
+ __asm__ ("bfffo %1%{%b2:%b2%},%0" \
: "=d" ((USItype) (count)) \
: "od" ((USItype) (x)), "n" (0))
/* Some ColdFire architectures have a ff1 instruction supported via