From: Jan Hubicka Date: Thu, 19 Oct 2000 12:27:28 +0000 (+0200) Subject: * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1aa9fd241121a0fe7e60acd60946e757012a3cd6;p=gcc.git * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document. From-SVN: r36949 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61cd3aed827..a6eb5d9c85d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka + + * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document. + 2000-10-18 Chandrakala Chavva * 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 +2000-10-18 Jan Hubicka * 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 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.