aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAdam Nemet <adambnemet@gmail.com>2010-02-08 04:54:12 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2010-02-08 04:54:12 +0000
commit7bf25dd66bf108a8db0596f89198efeacba4ba8d (patch)
tree2a1c9886a76cdd96b04db77e3aab05722aea1cb9 /gcc
parent95315086dc0e066a542896b5345a36010dc0820d (diff)
downloadgcc-7bf25dd66bf108a8db0596f89198efeacba4ba8d.zip
gcc-7bf25dd66bf108a8db0596f89198efeacba4ba8d.tar.gz
gcc-7bf25dd66bf108a8db0596f89198efeacba4ba8d.tar.bz2
mips.md (*<optab>_trunc<mode>_exts): Fix comment before the pattern.
* config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment before the pattern. From-SVN: r156594
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.md5
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fc9ea44..dd7b0b68 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-07 Adam Nemet <adambnmet@gmail.com>
+
+ * config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment
+ before the pattern.
+
2010-02-07 Andrew Pinski <pinskia@gmail.com>
PR middle-end/42946
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index 2179b8a..c389004 100644
--- a/gcc/config/mips/mips.md
+++ b/gcc/config/mips/mips.md
@@ -2888,8 +2888,9 @@
[(set_attr "type" "shift")
(set_attr "mode" "<MODE>")])
-;; Logical shift by 32 or more results in proper SI values so
-;; truncation is removed by the middle end.
+;; Logical shift by more than 32 results in proper SI values so truncation is
+;; removed by the middle end. Note that a logical shift by 32 is handled by
+;; the previous pattern.
(define_insn "*<optab>_trunc<mode>_exts"
[(set (match_operand:SUBDI 0 "register_operand" "=d")
(truncate:SUBDI