summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-19 12:27:28 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-19 12:27:28 +0000
commit53d36ba3507db061e50015ca9760190691acf67f (patch)
treed37834ff110bca134d5da5678d7e4164715d17f6 /gcc/config/i386
parent45335b48a608d84a1457a19aa66d5841839a0054 (diff)
downloadgcc-53d36ba3507db061e50015ca9760190691acf67f.tar.gz
* i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36949 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/i386.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 7cf818da902..10ef1e117e0 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -1045,6 +1045,7 @@ enum reg_class
K is for signed imm8 operands.
L is for andsi as zero-extending move.
M is for shifts that can be executed by the "lea" opcode.
+ N is for immedaite operands for out/in instructions (0-255)
*/
#define CONST_OK_FOR_LETTER_P(VALUE, C) \
@@ -1053,6 +1054,7 @@ enum reg_class
: (C) == 'K' ? (VALUE) >= -128 && (VALUE) <= 127 \
: (C) == 'L' ? (VALUE) == 0xff || (VALUE) == 0xffff \
: (C) == 'M' ? (VALUE) >= 0 && (VALUE) <= 3 \
+ : (C) == 'N' ? (VALUE) >= 0 && (VALUE) <= 255 \
: 0)
/* Similar, but for floating constants, and defining letters G and H.