mirror of git://gcc.gnu.org/git/gcc.git
re PR rtl-optimization/26272 (gcc.c-torture/execute/built-in-setjmp.c fails at -O2 and above on powerpc-darwin)
2006-02-17 Andrew Pinski <pinskia@physics.uc.edu>
PR target/26272
* config/rs6000/darwin.md (load_macho_picbase_si): Add
pc to the pattern.
(load_macho_picbase_di): Likewise.
From-SVN: r111206
This commit is contained in:
parent
124452c9fc
commit
d5b5b8bf92
|
|
@ -1,3 +1,10 @@
|
||||||
|
2006-02-17 Andrew Pinski <pinskia@physics.uc.edu>
|
||||||
|
|
||||||
|
PR target/26272
|
||||||
|
* config/rs6000/darwin.md (load_macho_picbase_si): Add
|
||||||
|
pc to the pattern.
|
||||||
|
(load_macho_picbase_di): Likewise.
|
||||||
|
|
||||||
2006-02-16 Jeff Law <law@redhat.com>
|
2006-02-16 Jeff Law <law@redhat.com>
|
||||||
|
|
||||||
* tree-vrp.c (set_value_range_to_nonnegative): New function.
|
* tree-vrp.c (set_value_range_to_nonnegative): New function.
|
||||||
|
|
|
||||||
|
|
@ -254,8 +254,8 @@ Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
(define_insn "load_macho_picbase_si"
|
(define_insn "load_macho_picbase_si"
|
||||||
[(set (match_operand:SI 0 "register_operand" "=l")
|
[(set (match_operand:SI 0 "register_operand" "=l")
|
||||||
(unspec:SI [(match_operand:SI 1 "immediate_operand" "s")]
|
(unspec:SI [(match_operand:SI 1 "immediate_operand" "s")
|
||||||
UNSPEC_LD_MPIC))]
|
(pc)] UNSPEC_LD_MPIC))]
|
||||||
"(DEFAULT_ABI == ABI_DARWIN) && flag_pic"
|
"(DEFAULT_ABI == ABI_DARWIN) && flag_pic"
|
||||||
"bcl 20,31,%1\\n%1:"
|
"bcl 20,31,%1\\n%1:"
|
||||||
[(set_attr "type" "branch")
|
[(set_attr "type" "branch")
|
||||||
|
|
@ -263,7 +263,8 @@ Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
(define_insn "load_macho_picbase_di"
|
(define_insn "load_macho_picbase_di"
|
||||||
[(set (match_operand:DI 0 "register_operand" "=l")
|
[(set (match_operand:DI 0 "register_operand" "=l")
|
||||||
(unspec:DI [(match_operand:DI 1 "immediate_operand" "s")] UNSPEC_LD_MPIC))]
|
(unspec:DI [(match_operand:DI 1 "immediate_operand" "s")
|
||||||
|
(pc)] UNSPEC_LD_MPIC))]
|
||||||
"(DEFAULT_ABI == ABI_DARWIN) && flag_pic && TARGET_64BIT"
|
"(DEFAULT_ABI == ABI_DARWIN) && flag_pic && TARGET_64BIT"
|
||||||
"bcl 20,31,%1\\n%1:"
|
"bcl 20,31,%1\\n%1:"
|
||||||
[(set_attr "type" "branch")
|
[(set_attr "type" "branch")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue