mirror of git://gcc.gnu.org/git/gcc.git
re PR target/40575 (FAIL: gcc.dg/falign-labels-1.c execution test)
PR target/40575 * pa.md (casesi32p): Use jump table label to determine the offset of the jump table. (casesi64p): Likewise. From-SVN: r149144
This commit is contained in:
parent
3232e9d8b8
commit
4aa7f896a9
|
@ -1,5 +1,10 @@
|
||||||
2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||||
|
|
||||||
|
PR target/40575
|
||||||
|
* pa.md (casesi32p): Use jump table label to determine the offset
|
||||||
|
of the jump table.
|
||||||
|
(casesi64p): Likewise.
|
||||||
|
|
||||||
* pa.c (forward_branch_p): Return bool type. Use instruction addresses
|
* pa.c (forward_branch_p): Return bool type. Use instruction addresses
|
||||||
when available. Assert that INSN has a jump label.
|
when available. Assert that INSN has a jump label.
|
||||||
(pa_adjust_insn_length): Don't call forward_branch_p if INSN doesn't
|
(pa_adjust_insn_length): Don't call forward_branch_p if INSN doesn't
|
||||||
|
|
|
@ -7130,7 +7130,7 @@
|
||||||
(clobber (match_scratch:SI 2 "=&r"))
|
(clobber (match_scratch:SI 2 "=&r"))
|
||||||
(clobber (match_scratch:SI 3 "=&r"))]
|
(clobber (match_scratch:SI 3 "=&r"))]
|
||||||
"flag_pic"
|
"flag_pic"
|
||||||
"{bl .+8,%2\;depi 0,31,2,%2|mfia %2}\;ldo {16|20}(%2),%2\;\
|
"{bl .+8,%2\;depi 0,31,2,%2|mfia %2}\;ldo {%l1-.|%l1+4-.}(%2),%2\;\
|
||||||
{ldwx|ldw},s %0(%2),%3\;{addl|add,l} %2,%3,%3\;bv,n %%r0(%3)"
|
{ldwx|ldw},s %0(%2),%3\;{addl|add,l} %2,%3,%3\;bv,n %%r0(%3)"
|
||||||
[(set_attr "type" "multi")
|
[(set_attr "type" "multi")
|
||||||
(set (attr "length")
|
(set (attr "length")
|
||||||
|
@ -7148,7 +7148,7 @@
|
||||||
(clobber (match_scratch:DI 2 "=&r"))
|
(clobber (match_scratch:DI 2 "=&r"))
|
||||||
(clobber (match_scratch:DI 3 "=&r"))]
|
(clobber (match_scratch:DI 3 "=&r"))]
|
||||||
""
|
""
|
||||||
"mfia %2\;ldo 24(%2),%2\;ldw,s %0(%2),%3\;extrd,s %3,63,32,%3\;\
|
"mfia %2\;ldo %l1+4-.(%2),%2\;ldw,s %0(%2),%3\;extrd,s %3,63,32,%3\;\
|
||||||
add,l %2,%3,%3\;bv,n %%r0(%3)"
|
add,l %2,%3,%3\;bv,n %%r0(%3)"
|
||||||
[(set_attr "type" "multi")
|
[(set_attr "type" "multi")
|
||||||
(set_attr "length" "24")])
|
(set_attr "length" "24")])
|
||||||
|
|
Loading…
Reference in New Issue