OSDN Git Service

* config/i386/i386.md (*movti_rex64): Add "!" to "r" constraint
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Jun 2008 21:24:15 +0000 (21:24 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Jun 2008 21:24:15 +0000 (21:24 +0000)
of operand 0.

testsuite/ChangeLog:

* gcc.target/i386/movti.c: New test.

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

gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/movti.c [new file with mode: 0644]

index 7c7fd12..aaf1d08 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-30 Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*movti_rex64): Add "!" to "r" constraint
+       of operand 0.
+
 2008-06-30  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * ifcvt.c (cond_move_process_if_block): Free vectors on false
@@ -19,7 +24,7 @@
 
        * config/i386/i386.c (contains_aligned_value_p): Return true
        for __float128.
-       (ix86_function_arg_boundary): Return its natural boundary for
+       (ix86_function_arg_boundary): Return its natural boundary
        for __float128.
        (return_in_memory_32): Don't check TDmode.
        (ix86_split_to_parts): Support splitting into 4 parts and
@@ -27,8 +32,7 @@
        (ix86_split_long_move): Support splitting into 4 parts.
        (bdesc_args): Enable IX86_BUILTIN_FABSQ and IX86_BUILTIN_COPYSIGNQ
        for SSE2.
-       (ix86_init_mmx_sse_builtins): Move __float80 and __float128
-       to ...
+       (ix86_init_mmx_sse_builtins): Move __float80 and __float128 to ...
        (ix86_init_builtins): Here.
        (ix86_scalar_mode_supported_p): Always return true for TFmode.
        (ix86_c_mode_for_suffix): Always return TFmode and XFmode for
@@ -51,9 +55,7 @@
            H.J. Lu  <hongjiu.lu@intel.com>
 
        * global.c (compute_regsets): Set frame_pointer_needed here.
-
-       * reload1.c (init_elim_table): Don't set frame_pointer_needed
-       here.
+       * reload1.c (init_elim_table): Don't set frame_pointer_needed here.
 
 2008-06-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
 
index ed3c0d1..c67cf46 100644 (file)
              (const_string "TI")))])
 
 (define_insn "*movti_rex64"
-  [(set (match_operand:TI 0 "nonimmediate_operand" "=r,o,x,x,xm")
+  [(set (match_operand:TI 0 "nonimmediate_operand" "=!r,o,x,x,xm")
        (match_operand:TI 1 "general_operand" "riFo,riF,C,xm,x"))]
   "TARGET_64BIT
    && !(MEM_P (operands[0]) && MEM_P (operands[1]))"
index f1ca632..3a2c9a1 100644 (file)
@@ -1,3 +1,7 @@
+2008-06-30 Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/i386/movti.c: New test.
+
 2008-06-30  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/36662
diff --git a/gcc/testsuite/gcc.target/i386/movti.c b/gcc/testsuite/gcc.target/i386/movti.c
new file mode 100644 (file)
index 0000000..e306c1e
--- /dev/null
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+/* { dg-require-effective-target dfp } */
+/* { dg-options "-O -std=gnu99" } */
+
+_Decimal128 test (void)
+{
+  return 1234123412341234.123412341234dl;
+}
+
+/* { dg-final { scan-assembler-not "movabs" } } */