i386.md (<mode>_ldx): Do not zero-extend non-Pmode operand 2 here.
authorUros Bizjak <uros@gcc.gnu.org>
Sun, 28 Jun 2015 19:38:56 +0000 (21:38 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 28 Jun 2015 19:38:56 +0000 (21:38 +0200)
commit2aee355b5a77c60e3c43294ee9469a35a5b95a9c
tree6f655a593f083f68013ec74d5ca7b80b22f0801d
parentcb78dd578a50dd0815b7cb4f9f483e4dff91aa6a
i386.md (<mode>_ldx): Do not zero-extend non-Pmode operand 2 here.

* config/i386/i386.md (<mode>_ldx): Do not zero-extend non-Pmode
operand 2 here.  Use copy_addr_to_reg to copy non-index
register operand 2 to a temporary.
(<mode>_stx): Ditto for operand 1.
(*<mode>_ldx, *<mode>_stx): Remove enclosing parallel.
* config/i386/i386.c (ix86_load_bounds): Zero-extend non-Pmode ptr here.
(ix86_store_bounds): Ditto.

From-SVN: r225105
gcc/config/i386/i386.c
gcc/config/i386/i386.md