Commit e3f159c2 by Jeffrey A Law Committed by Jeff Law

i386.h (LEGITIMATE_CONSTANT_P): Reject CONST_DOUBLEs that are not standard 387 constants.

        * i386.h (LEGITIMATE_CONSTANT_P): Reject CONST_DOUBLEs that are not
        standard 387 constants.

From-SVN: r23721
parent 39e4e1ef
......@@ -5,6 +5,9 @@ Thu Nov 19 19:05:49 1998 Per Bothner <bothner@cygnus.com>
Thu Nov 19 19:34:13 1998 Jeffrey A Law (law@cygnus.com)
* i386.h (LEGITIMATE_CONSTANT_P): Reject CONST_DOUBLEs that are not
standard 387 constants.
* i386.md (jump): Explicitly set "memory" attribute.
(indirect_jump, prologue_set_stack_ptr): Likewise.
(prologue_get_pc_and_set_got, pop): Likewise.
......
......@@ -1696,7 +1696,8 @@ do { \
/* Nonzero if the constant value X is a legitimate general operand.
It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */
#define LEGITIMATE_CONSTANT_P(X) 1
#define LEGITIMATE_CONSTANT_P(X) \
(GET_CODE (X) == CONST_DOUBLE ? standard_80387_constant_p (X) : 1)
#ifdef REG_OK_STRICT
#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment