re PR target/7842 ([REGRESSION] sparc code gen bug)

2002-09-25  David S. Miller  <davem@redhat.com>

	PR target/7842
	* config/sparc/sparc.c (set_extends): SImode ASHIFT does not
	extend.

From-SVN: r57534
This commit is contained in:
David S. Miller 2002-09-26 03:18:05 -07:00 committed by David S. Miller
parent 065fa8a136
commit 8a3996fd32
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-09-25 David S. Miller <davem@redhat.com>
PR target/7842
* config/sparc/sparc.c (set_extends): SImode ASHIFT does not
extend.
2002-09-25 Richard Henderson <rth@redhat.com>
* emit-rtl.c (const_double_htab_eq): Distinguish integer and

View File

@ -7763,7 +7763,6 @@ set_extends (insn)
return INTVAL (op1) >= 0;
return (GET_CODE (op1) == REG && sparc_check_64 (op1, insn) == 1);
}
case ASHIFT:
case LSHIFTRT:
return GET_MODE (SET_SRC (pat)) == SImode;
/* Positive integers leave the high bits zero. */