summaryrefslogtreecommitdiff
path: root/gcc/config/sh/iterators.md
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-31 10:18:27 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-31 10:18:27 +0000
commitd42d3fad6998402ea943bc2a3159cad09eb288d5 (patch)
treed70dbc97eb104b1c403ef6d4cff46da1ebf52c76 /gcc/config/sh/iterators.md
parent8422fa6afbb619fc66678c664bfaf834691527fc (diff)
downloadgcc-d42d3fad6998402ea943bc2a3159cad09eb288d5.tar.gz
2012-10-31 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 193029 using svnmerge.py git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@193030 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/iterators.md')
-rw-r--r--gcc/config/sh/iterators.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/sh/iterators.md b/gcc/config/sh/iterators.md
index e118c3ef1cd..ab6143f5386 100644
--- a/gcc/config/sh/iterators.md
+++ b/gcc/config/sh/iterators.md
@@ -22,6 +22,7 @@
(define_mode_iterator QIHISI [QI HI SI])
(define_mode_iterator QIHI [QI HI])
(define_mode_iterator HISI [HI SI])
+(define_mode_iterator SIDI [SI DI])
;; Mode attributes that can be used as the instruction suffix for mode
;; variant instructions.
@@ -38,3 +39,6 @@
;; Return codes.
(define_code_iterator any_return [return simple_return])
+;; Lowpart subreg byte position code attributes for big and little endian.
+(define_mode_attr lowpart_be [(QI "3") (HI "2")])
+(define_mode_attr lowpart_le [(QI "0") (HI "0")])