i386.md (addqi_1_lea): Fix mode (QI instead of HI).
authorJakub Jelinek <jakub@redhat.com>
Mon, 29 Jan 2001 18:31:35 +0000 (19:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 29 Jan 2001 18:31:35 +0000 (19:31 +0100)
commitadc881318b71864ad27821825c7cb9dce3c30aa2
tree3c7a9d201bb834dad90bf9e5539025446147f142
parent42c0c80add6f801ec0f57a1651555115e941c39b
i386.md (addqi_1_lea): Fix mode (QI instead of HI).

* config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
(testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
not have any upper bits set.

* gcc.c-torture/execute/20010129-1.c: New test.
* gcc.c-torture/execute/20010129-1.x: Add -mcpu=i686 on ia32.

From-SVN: r39331
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20010129-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/20010129-1.x [new file with mode: 0644]