]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/39911 (The 'z' suffix doesn't work with 16bit integer insn)
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 28 Apr 2009 06:54:02 +0000 (08:54 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 28 Apr 2009 06:54:02 +0000 (08:54 +0200)
commitb91322f2ba88548f5137cea907c85cd74b0b90a8
treee907955ebd25213e01b632ca3ab28601b9dcb477
parent297c37173212c85e2e0c61cb9a1fd89fa9d44f25
re PR target/39911 (The 'z' suffix doesn't work with 16bit integer insn)

PR target/39911
* config/i386/i386.c (print_operand) ['Z']: Handle floating point
and integer modes for x87 operands.  Do not ICE for unsupported size,
generate error instead.  Generate error for unsupported operand types.
['z']: Do not handle HImode memory operands specially.  Warning
for floating-point operands.  Fallthru to 'Z' for unsupported operand
types.  Do not ICE for unsupported size, generate error instead.
(output_387_binary_op): Use %Z to output operands.
(output_fp_compare): Ditto.
(output_387_reg_move): Ditto.

testsuite/ChangeLog:

PR target/39911
* gcc.target/i386/pr39911.c: New test.

From-SVN: r146874
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr39911.c [new file with mode: 0644]