Commit a76213b9 by Xinyu Qi Committed by Ramana Radhakrishnan

For Xinyu Qi - Fix define_constants for WCGR.

From-SVN: r197104
parent 37ff9355
2013-03-26 Xinyu Qi <xyqi@marvell.com>
* config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment.
* config/arm/iwmmxt.md (WCGR0): Update.
(WCGR1, WCGR2, WCGR3): Likewise.
2013-03-26 Uros Bizjak <ubizjak@gmail.com> 2013-03-26 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64.
......
...@@ -955,6 +955,8 @@ extern int prefer_neon_for_64bits; ...@@ -955,6 +955,8 @@ extern int prefer_neon_for_64bits;
#define FIRST_IWMMXT_REGNUM (LAST_HI_VFP_REGNUM + 1) #define FIRST_IWMMXT_REGNUM (LAST_HI_VFP_REGNUM + 1)
#define LAST_IWMMXT_REGNUM (FIRST_IWMMXT_REGNUM + 15) #define LAST_IWMMXT_REGNUM (FIRST_IWMMXT_REGNUM + 15)
/* Need to sync with WCGR in iwmmxt.md. */
#define FIRST_IWMMXT_GR_REGNUM (LAST_IWMMXT_REGNUM + 1) #define FIRST_IWMMXT_GR_REGNUM (LAST_IWMMXT_REGNUM + 1)
#define LAST_IWMMXT_GR_REGNUM (FIRST_IWMMXT_GR_REGNUM + 3) #define LAST_IWMMXT_GR_REGNUM (FIRST_IWMMXT_GR_REGNUM + 3)
......
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
;; along with GCC; see the file COPYING3. If not see ;; along with GCC; see the file COPYING3. If not see
;; <http://www.gnu.org/licenses/>. ;; <http://www.gnu.org/licenses/>.
;; Register numbers ;; Register numbers. Need to sync with FIRST_IWMMXT_GR_REGNUM in arm.h
(define_constants (define_constants
[(WCGR0 43) [(WCGR0 96)
(WCGR1 44) (WCGR1 97)
(WCGR2 45) (WCGR2 98)
(WCGR3 46) (WCGR3 99)
] ]
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment