2005-06-07 Uros Bizjak <uros@kss-loka.si> * config/i386/i386.h (enum ix86_entity): New. (enum ix86_stack_slot): New. (OPTIMIZE_MODE_SWITCHING): Redefine to use ix86_optimize_mode_switching[] array. (NUM_MODES_FOR_MODE_SWITCHING): Redefine for 4 entities. (MODE_NEEDED): Use ix86_mode_needed() function. (EMIT_MODE_SET): Redefine for changed emit_i387_cw_initialization () function. (struct machine_function): Use optimize_mode_switching[] array. * config/i386/i386.c (MAX_386_STACK_LOCALS): Remove. (ix86_mode_needed): New function. (emit_i387_cw_initialization): Cleanup. Use mode to calculate correct stack positions for stored control words. (assign_386_stack_local): Use enum ix86_stack_slot. Change assert. (ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR]: Change constant to SLOT_TEMP. [IX86_BUILTIN_STMXCSR]: Same. * config/i386/i386-protos.h (assign_stack_local): Change prototype. (emit_i387_cw_initialization): Change prototype. (ix86_mode_needed): New prototype. * config/i386/i386.md (i387_cw attribute): Change order of elements. (truncdfsf2, truncxfsf2, truncxfdf2, fix_trunc<mode>_fisttp_i387_1) (*fix_trunc<mode>_i387_1, lrint<mode>2, *fist<mode>2_floor_1) (*fist<mode>2_ceil_1): Change constant in call to assign_386_stack_local to SLOT_TEMP. (*fix_trunc<mode>_i387_1): Change constant in call to assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_TRUNC. Use new ix86_optimize_mode_switching[] array. (frndintxf2_floor, *fist<mode>2_floor_1): Change constants in call to assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_FLOOR. Use new ix86_optimize_mode_switching[] array. (frndintxf2_ceil, *fist<mode>2_ceil_1): Change constants in call to assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_CEIL. Use new ix86_optimize_mode_switching[] array. (frndintxf2_trunc): Change constants in call to assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_TRUNC. Use new ix86_optimize_mode_switching[] array. (frndintxf2_mask_pm): Change constants in call to assign_386_stack_local to SLOT_CW_STORED and SLOT_CW_MASK_PM. Use new ix86_optimize_mode_switching[] array. (define_peephole2): Change constant from 17 to FLAGS_REG; From-SVN: r100732
Name |
Last commit
|
Last update |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
fastjar | Loading commit data... | |
fixincludes | Loading commit data... | |
gcc | Loading commit data... | |
gnattools | Loading commit data... | |
include | Loading commit data... | |
intl | Loading commit data... | |
libada | Loading commit data... | |
libcpp | Loading commit data... | |
libffi | Loading commit data... | |
libgfortran | Loading commit data... | |
libiberty | Loading commit data... | |
libjava | Loading commit data... | |
libmudflap | Loading commit data... | |
libobjc | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
maintainer-scripts | Loading commit data... | |
zlib | Loading commit data... | |
.cvsignore | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.tree-ssa | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.def | Loading commit data... | |
Makefile.in | Loading commit data... | |
Makefile.tpl | Loading commit data... | |
README | Loading commit data... | |
README.SCO | Loading commit data... | |
compile | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.rpath | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.in | Loading commit data... | |
depcomp | Loading commit data... | |
install-sh | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltcf-c.sh | Loading commit data... | |
ltcf-cxx.sh | Loading commit data... | |
ltcf-gcj.sh | Loading commit data... | |
ltconfig | Loading commit data... | |
ltmain.sh | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |