OSDN Git Service

* config/i386/sse.md (round<mode>2): Use register_operand for
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Nov 2011 22:27:13 +0000 (22:27 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Nov 2011 22:27:13 +0000 (22:27 +0000)
operand 1 predicate.
(round<mode>2_sfix): Ditto.
(round<mode>2_vec_pack_sfix): Ditto for operand 1 and operand 2.

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

gcc/ChangeLog
gcc/config/i386/sse.md

index 94661b5..539d836 100644 (file)
@@ -1,9 +1,17 @@
+2011-11-14  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sse.md (round<mode>2): Use register_operand for
+       operand 1 predicate.
+       (round<mode>2_sfix): Ditto.
+       (round<mode>2_vec_pack_sfix): Ditto for operand 1 and operand 2.
+
 2011-11-14  Nathan Sidwell  <nathan@acm.org>
 
        * gcov.c (canonicalize_name): Protect use of S_ISLNK.
 
 2011-11-14  Jan Hubicka  <jh@suse.cz>
 
+       PR target/51126
        * config/i386/i386.c (core cost model): Correct pasto.
 
 2011-11-14  Uros Bizjak  <ubizjak@gmail.com>
index 147646b..b476752 100644 (file)
 (define_expand "round<mode>2"
   [(set (match_dup 4)
        (plus:VF
-         (match_operand:VF 1 "nonimmediate_operand" "")
+         (match_operand:VF 1 "register_operand" "")
          (match_dup 3)))
    (set (match_operand:VF 0 "register_operand" "")
        (unspec:VF
 
 (define_expand "round<mode>2_sfix"
   [(match_operand:<sseintvecmode> 0 "register_operand" "")
-   (match_operand:VF1 1 "nonimmediate_operand" "")]
+   (match_operand:VF1 1 "register_operand" "")]
   "TARGET_ROUND && !flag_trapping_math"
 {
   rtx tmp = gen_reg_rtx (<MODE>mode);
 
 (define_expand "round<mode>2_vec_pack_sfix"
   [(match_operand:<ssepackfltmode> 0 "register_operand" "")
-   (match_operand:VF2 1 "nonimmediate_operand" "")
-   (match_operand:VF2 2 "nonimmediate_operand" "")]
+   (match_operand:VF2 1 "register_operand" "")
+   (match_operand:VF2 2 "register_operand" "")]
   "TARGET_ROUND && !flag_trapping_math"
 {
   rtx tmp0, tmp1;