* i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
authorJan Hubicka <jh@suse.cz>
Thu, 19 Oct 2000 12:27:28 +0000 (14:27 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 19 Oct 2000 12:27:28 +0000 (12:27 +0000)
From-SVN: r36949

gcc/ChangeLog
gcc/config/i386/i386.h

index 61cd3aed827ddf9d6031fe8e1058161c87d2cf0d..a6eb5d9c85d90b92550527453b0f841564146150 100644 (file)
@@ -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.
        * 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.
index 7cf818da902a9c6bf11380b0bf28193f0c9e7855..10ef1e117e000e57f067aa67dbbf9836b989447f 100644 (file)
@@ -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.