i386.md (cmpqi_minus_1): Use {b} for QImode operation.

* config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.

	* gcc.c-torture/compile/20010117-1.c: New test.

From-SVN: r39092
This commit is contained in:
Jakub Jelinek 2001-01-17 12:55:10 +01:00 committed by Jakub Jelinek
parent 607adf67a0
commit 5efdd89028
4 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-01-17 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
* config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.

View File

@ -1158,7 +1158,7 @@
(match_operand:QI 1 "general_operand" "ri,mr"))
(const_int 0)))]
"ix86_match_ccmode (insn, CCGOCmode)"
"cmp{w}\\t{%1, %0|%0, %1}"
"cmp{b}\\t{%1, %0|%0, %1}"
[(set_attr "type" "icmp")
(set_attr "mode" "QI")])

View File

@ -1,3 +1,7 @@
2001-01-17 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20010117-1.c: New test.
2001-01-15 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20010116.[fx]: New test,

View File

@ -0,0 +1,7 @@
unsigned char u, v, w;
void baz (void)
{
if ((u - v - w) & 0x80)
v = 1;
}