i386.c (ix86_cmodel_string, [...]): Define.
authorJan Hubicka <jh@suse.cz>
Wed, 14 Mar 2001 21:35:58 +0000 (22:35 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 14 Mar 2001 21:35:58 +0000 (21:35 +0000)
commit6189a572989970b67d3dcf83a36ad1c5350d7746
tree7fb32f8734e4ba273578ac0731a291d839c09bf8
parent4cf6b384acaa1d0d9bdbfb2ac21f2ba5bdca846a
i386.c (ix86_cmodel_string, [...]): Define.

* i386.c (ix86_cmodel_string, ix86_cmodel): Define.
(override_options): Parse cmodel string.
(x86_64_sign_extended_value, x86_64_zero_extended_value): New.
* i386.h (TARGET_OPTIONS): Add "cmodel".
(EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
(enum cmodel): New.
(ix86_cmodel_string, ix86_cmodel): Declare.

Spot by Matt Kraai:
* i386.h (GENERAL_REG_P): Add missing REG_P.

From-SVN: r40474
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h