For Xinyu Qi - Fix define_constants for WCGR.

From-SVN: r197104
This commit is contained in:
Xinyu Qi 2013-03-26 14:01:24 +00:00 committed by Ramana Radhakrishnan
parent 37ff93553c
commit a76213b9b3
3 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,9 @@
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>
* config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64.

View File

@ -955,6 +955,8 @@ extern int prefer_neon_for_64bits;
#define FIRST_IWMMXT_REGNUM (LAST_HI_VFP_REGNUM + 1)
#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 LAST_IWMMXT_GR_REGNUM (FIRST_IWMMXT_GR_REGNUM + 3)

View File

@ -18,12 +18,12 @@
;; along with GCC; see the file COPYING3. If not see
;; <http://www.gnu.org/licenses/>.
;; Register numbers
;; Register numbers. Need to sync with FIRST_IWMMXT_GR_REGNUM in arm.h
(define_constants
[(WCGR0 43)
(WCGR1 44)
(WCGR2 45)
(WCGR3 46)
[(WCGR0 96)
(WCGR1 97)
(WCGR2 98)
(WCGR3 99)
]
)