i386.c (TARGET_INSTANTIATE_DECLS): New define.
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 6 Nov 2012 16:00:35 +0000 (17:00 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 6 Nov 2012 16:00:35 +0000 (17:00 +0100)
commit443ca5fc9becb90019c04b6818e9f687f101df5a
tree50c2b75833052692c59212717be12956b42c2ac8
parentab72bd1821473326336fdde73c3e36608e7a4832
i386.c (TARGET_INSTANTIATE_DECLS): New define.

* config/i386/i386.c (TARGET_INSTANTIATE_DECLS): New define.
(ix86_instantiate_decls): New function.
(ix86_expand_builtin) <case IX86_BUILTIN_LDMXCSR>: Use SLOT_TEMP
stack slot instead of SLOT_VIRTUAL.
<case IX86_BUILTIN_STMXCSR>: Ditto.
(assign_386_stack_local): Do not assert when virtual slot is valid.
* config/i386/i386.h (enum ix86_stack_slot): Remove SLOT_VIRTUAL.
* config/i386/i386.md (truncdfsf2): Do not use SLOT_VIRTUAL stack slot.
(truncxf<mode>2): Ditto.
(floatunssi<mode>2): Ditto.
(isinf<mode>2): Ditto.
* config/i386/sync.md (atomic_load<mode>): Ditto.
(atomic_store<mode>): Ditto.

From-SVN: r193244
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/config/i386/sync.md