diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-17 21:55:58 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-17 21:55:58 +0000 |
commit | 7c90073ac7cf3c8b9fd2a85025e5d1baf27d7c92 (patch) | |
tree | c6768ad08a223aed820ea3bc271c76f1e9600a7a /gcc/config/darwin.c | |
parent | e375923d7f6c366c2c53e2612ff504be0b8a1602 (diff) | |
download | gcc-7c90073ac7cf3c8b9fd2a85025e5d1baf27d7c92.tar.gz |
* config/darwin.c (macho_indirect_data_reference): Add DImode case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86149 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 14101f6c72e..bca55134db2 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -333,12 +333,8 @@ machopic_indirect_data_reference (rtx orig, rtx reg) if (defined && MACHO_DYNAMIC_NO_PIC_P) { #if defined (TARGET_TOC) - emit_insn (GET_MODE (orig) == DImode - ? gen_macho_high_di (reg, orig) - : gen_macho_high (reg, orig)); - emit_insn (GET_MODE (orig) == DImode - ? gen_macho_low_di (reg, reg, orig) - : gen_macho_low (reg, reg, orig)); + emit_insn (gen_macho_high (reg, orig)); + emit_insn (gen_macho_low (reg, reg, orig)); #else /* some other cpu -- writeme! */ abort (); @@ -533,9 +529,7 @@ machopic_legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg) rtx asym = XEXP (orig, 0); rtx mem; - emit_insn (mode == DImode - ? gen_macho_high_di (temp_reg, asym) - : gen_macho_high (temp_reg, asym)); + emit_insn (gen_macho_high (temp_reg, asym)); mem = gen_rtx_MEM (GET_MODE (orig), gen_rtx_LO_SUM (Pmode, temp_reg, asym)); RTX_UNCHANGING_P (mem) = 1; |