]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386.c (ix86_function_regparm): Ditto.
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 10 Dec 2007 07:46:12 +0000 (08:46 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 10 Dec 2007 07:46:12 +0000 (08:46 +0100)
commitec382b8ca30c83a52b2c1a0d413e334d657cdb23
tree2830f7184b743b518465dec9680e641f55fd0b8a
parent466e4b7a17c37f586dc9000bd040f37463e64f54
i386.c (ix86_function_regparm): Ditto.

* 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.

From-SVN: r130737
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md