aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/unix.h
diff options
context:
space:
mode:
authorStan Cox <coxs@gnu.org>1996-06-09 02:13:52 +0000
committerStan Cox <coxs@gnu.org>1996-06-09 02:13:52 +0000
commitb95a06683099961ad46c1d96bf17c18bb11c00cc (patch)
tree3c05e1e6875e3e180335897fd29ee722e6fa8066 /gcc/config/i386/unix.h
parent8fbaea49f1731a88d3693ee0457f71e4af255138 (diff)
downloadgcc-b95a06683099961ad46c1d96bf17c18bb11c00cc.zip
gcc-b95a06683099961ad46c1d96bf17c18bb11c00cc.tar.gz
gcc-b95a06683099961ad46c1d96bf17c18bb11c00cc.tar.bz2
(SHIFT_DOUBLE_OMITS_COUNT): new macro.
From-SVN: r12251
Diffstat (limited to 'gcc/config/i386/unix.h')
-rw-r--r--gcc/config/i386/unix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/i386/unix.h b/gcc/config/i386/unix.h
index 237ff9a..bad6970 100644
--- a/gcc/config/i386/unix.h
+++ b/gcc/config/i386/unix.h
@@ -45,7 +45,9 @@ Boston, MA 02111-1307, USA. */
count is in %cl. Some assemblers require %cl as an argument;
some don't. This macro controls what to do: by default, don't
print %cl. */
-#define AS3_SHIFT_DOUBLE(a,b,c,d) AS2 (a,c,d)
+#define SHIFT_DOUBLE_OMITS_COUNT 1
+#define AS3_SHIFT_DOUBLE(a,b,c,d) \
+ (SHIFT_DOUBLE_OMITS_COUNT ? AS2 (a,c,d) : AS3 (a,b,c,d))
/* Output the size-letter for an opcode.
CODE is the letter used in an operand spec (L, B, W, S or Q).