diff options
| author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-17 19:52:28 +0000 |
|---|---|---|
| committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-17 19:52:28 +0000 |
| commit | 211b4d3e1184a1bc312f282e8e87256678c42e8a (patch) | |
| tree | 0f6760692bcf754cd37b076c5d7e95cf4e9d9fa8 | |
| parent | b00e31838f8495da09206afea5e8b613a85855e1 (diff) | |
| download | ppe42-gcc-211b4d3e1184a1bc312f282e8e87256678c42e8a.tar.gz ppe42-gcc-211b4d3e1184a1bc312f282e8e87256678c42e8a.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111206 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 7 | ||||
| -rw-r--r-- | gcc/config/rs6000/darwin.md | 7 |
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79edc91b808..d1a03bcda2a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> * tree-vrp.c (set_value_range_to_nonnegative): New function. diff --git a/gcc/config/rs6000/darwin.md b/gcc/config/rs6000/darwin.md index 49c6caa03ce..c8e32871f6c 100644 --- a/gcc/config/rs6000/darwin.md +++ b/gcc/config/rs6000/darwin.md @@ -254,8 +254,8 @@ Boston, MA 02110-1301, USA. */ (define_insn "load_macho_picbase_si" [(set (match_operand:SI 0 "register_operand" "=l") - (unspec:SI [(match_operand:SI 1 "immediate_operand" "s")] - UNSPEC_LD_MPIC))] + (unspec:SI [(match_operand:SI 1 "immediate_operand" "s") + (pc)] UNSPEC_LD_MPIC))] "(DEFAULT_ABI == ABI_DARWIN) && flag_pic" "bcl 20,31,%1\\n%1:" [(set_attr "type" "branch") @@ -263,7 +263,8 @@ Boston, MA 02110-1301, USA. */ (define_insn "load_macho_picbase_di" [(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" "bcl 20,31,%1\\n%1:" [(set_attr "type" "branch") |

