i386.md (FPSR_REG): Remove.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 27 Sep 2018 20:04:15 +0000 (22:04 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 27 Sep 2018 20:04:15 +0000 (22:04 +0200)
commiteaa17c21bac19e2abbcec9470e1537412a179909
treebac58ff9591e13df986589d9a70d4382db017a43
parent24676f1215413e6934132bfc6a25f1c02c9eecca
i386.md (FPSR_REG): Remove.

* config/i386/i386.md (FPSR_REG): Remove.
(x86_fnstcw_1): Use (const_int 0) instead of FPCR_REG.
(x86_fldcw_1): Remove insn pattern.
(fnstenv): Do not clobber FPCR_REG.
(fldenv): Ditto.
* config/i386/i386.h (FIXED_REGISTERS) Remove fpsr register.
(CALL_USED_REGISTERS): Ditto.
(REG_ALLOC_ORDER): Ditto.
(REG_CLASS_CONTENTS): Ditto.
(HI_REGISTER_NAMES): Ditto.
(ADDITIONAL_REGISTER_NAMES): Use defines instead
of numerical constants.
* config/i386/i386.c (regclass_map): Remove fpsr register.
(dbx_register_map): Ditto.
(dbx64_register_map): Ditto.
(svr4_dbx_register_map): Ditto.
(print_reg): Do not handle FPCR_REG.

testsuite/ChangeLog:

* gcc.dg/rtl/x86_64/dfinit.c: Update scan-rtl-dump string.
* gcc.dg/rtl/x86_64/times-two.c.before-df.c: Ditto.
* gcc.target/i386/pr79804.c (foo): Use register "19", not "20".

From-SVN: r264676
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c
gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.before-df.c
gcc/testsuite/gcc.target/i386/pr79804.c