mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 18:30:59 +08:00
re PR bootstrap/61084 (wide-int merge broke Solaris/SPARC bootstrap)
gcc/ PR target/61084 * config/sparc/sparc.md: Fix types of low and high in DI constant splitter. Use gen_int_mode in some other splitters. From-SVN: r210428
This commit is contained in:
parent
8b9aec861e
commit
7e7e4032f1
@ -1,3 +1,9 @@
|
||||
2014-05-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
||||
|
||||
PR target/61084
|
||||
* config/sparc/sparc.md: Fix types of low and high in DI constant
|
||||
splitter. Use gen_int_mode in some other splitters.
|
||||
|
||||
2014-05-14 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR ipa/60897
|
||||
|
@ -1886,7 +1886,7 @@
|
||||
emit_insn (gen_movsi (gen_lowpart (SImode, operands[0]),
|
||||
operands[1]));
|
||||
#else
|
||||
unsigned int low, high;
|
||||
HOST_WIDE_INT low, high;
|
||||
|
||||
low = trunc_int_for_mode (INTVAL (operands[1]), SImode);
|
||||
high = trunc_int_for_mode (INTVAL (operands[1]) >> 32, SImode);
|
||||
@ -4822,7 +4822,7 @@
|
||||
[(set (match_dup 3) (match_dup 4))
|
||||
(set (match_dup 0) (ior:SI (not:SI (match_dup 3)) (match_dup 1)))]
|
||||
{
|
||||
operands[4] = GEN_INT (~INTVAL (operands[2]));
|
||||
operands[4] = gen_int_mode (~INTVAL (operands[2]), SImode);
|
||||
})
|
||||
|
||||
(define_insn_and_split "*or_not_di_sp32"
|
||||
@ -4899,7 +4899,7 @@
|
||||
[(set (match_dup 3) (match_dup 4))
|
||||
(set (match_dup 0) (not:SI (xor:SI (match_dup 3) (match_dup 1))))]
|
||||
{
|
||||
operands[4] = GEN_INT (~INTVAL (operands[2]));
|
||||
operands[4] = gen_int_mode (~INTVAL (operands[2]), SImode);
|
||||
})
|
||||
|
||||
(define_split
|
||||
@ -4911,7 +4911,7 @@
|
||||
[(set (match_dup 3) (match_dup 4))
|
||||
(set (match_dup 0) (xor:SI (match_dup 3) (match_dup 1)))]
|
||||
{
|
||||
operands[4] = GEN_INT (~INTVAL (operands[2]));
|
||||
operands[4] = gen_int_mode (~INTVAL (operands[2]), SImode);
|
||||
})
|
||||
|
||||
;; Split DImode logical operations requiring two instructions.
|
||||
|
Loading…
x
Reference in New Issue
Block a user