aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2000-10-19 14:27:28 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2000-10-19 12:27:28 +0000
commit1aa9fd241121a0fe7e60acd60946e757012a3cd6 (patch)
treed37834ff110bca134d5da5678d7e4164715d17f6 /gcc
parent02ae6e2e4bdd2af6cd22372044124360152dfb72 (diff)
downloadgcc-1aa9fd241121a0fe7e60acd60946e757012a3cd6.zip
gcc-1aa9fd241121a0fe7e60acd60946e757012a3cd6.tar.gz
gcc-1aa9fd241121a0fe7e60acd60946e757012a3cd6.tar.bz2
* i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
From-SVN: r36949
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 61cd3ae..a6eb5d9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
+
+ * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
+
2000-10-18 Chandrakala Chavva <cchavva@redhat.com>
* expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
@@ -120,7 +124,7 @@
* emit-rtl.c (init_emit_once): Initialize the const_int_htab
earlier.
-2000-10-18 Jan Hubikca <jh@suse.cz>
+2000-10-18 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_comparison_operator, put_condition_code,
ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 7cf818d..10ef1e1 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.