OSDN Git Service

Author: Finn Thain <fthain@telegraphics.com.au>
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Dec 2010 14:03:55 +0000 (14:03 +0000)
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Dec 2010 14:03:55 +0000 (14:03 +0000)
PR target/46179
* gcc/config/m68k/m68k.c (handle_move_double): Insert calls to
m68k_final_prescan_insn to clean up @TLS operand syntax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167724 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m68k/m68k.c

index 0389806..ca7b49d 100644 (file)
@@ -1,3 +1,9 @@
+2010-12-12  Finn Thain  <fthain@telegraphics.com.au>
+
+       PR target/46179
+       * config/m68k/m68k.c (handle_move_double): Insert calls to
+       m68k_final_prescan_insn to clean up @TLS operand syntax.
+
 2010-12-10  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR tree-optimization/43023
        blocks will be created. Update dominator info.
        (sel_redirect_edge_and_branch): Update dominator info when
        basic blocks do not become unreachable.
-       (sel_remove_loop_preheader): Update dominator info. 
+       (sel_remove_loop_preheader): Update dominator info.
 
 2010-12-07  Richard Guenther  <rguenther@suse.de>
 
index eedf009..b8e9ff2 100644 (file)
@@ -3512,6 +3512,7 @@ handle_move_double (rtx operands[2],
 
   /* Normal case: do the two words, low-numbered first.  */
 
+  m68k_final_prescan_insn (NULL, operands, 2);
   handle_movsi (operands);
 
   /* Do the middle one of the three words for long double */
@@ -3522,6 +3523,7 @@ handle_move_double (rtx operands[2],
       if (addreg1)
        handle_reg_adjust (addreg1, 4);
 
+      m68k_final_prescan_insn (NULL, middlehalf, 2);
       handle_movsi (middlehalf);
     }
 
@@ -3532,6 +3534,7 @@ handle_move_double (rtx operands[2],
     handle_reg_adjust (addreg1, 4);
 
   /* Do that word.  */
+  m68k_final_prescan_insn (NULL, latehalf, 2);
   handle_movsi (latehalf);
 
   /* Undo the adds we just did.  */