OSDN Git Service

* config/i386/i386.c (ix86_function_regparm): Ditto. Use REGPARM_MAX
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Dec 2007 07:46:12 +0000 (07:46 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Dec 2007 07:46:12 +0000 (07:46 +0000)
commitcd09b00e87e0320908e68f1f0740cba7839aa998
tree2830f7184b743b518465dec9680e641f55fd0b8a
parentd3c9aa0579f5742726437e40f68a919b5ae1cc8d
* config/i386/i386.c (ix86_function_regparm): Ditto. Use REGPARM_MAX
to check that no regparm hard register is taken by a fixed register
variable. Check up to and including DI_REG when adjusting regparm
value due to fixed regs usage.
(rep_prefix_usable): Check fixed_regs array, not global_regs array for
available hard registers.
(ix86_expand_strlen): Ditto.
* config/i386/i386.md (strmov): Ditto.
(cmpstrnsi): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130737 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md