arc.c (arc_conditional_register_usage): Use ARC_FIRST_SIMD_VR_REG / ARC_LAST_SIMD_VR_REG.
* config/arc/arc.c (arc_conditional_register_usage): Use ARC_FIRST_SIMD_VR_REG / ARC_LAST_SIMD_VR_REG. Also set reg_alloc_order for DMA config regs. From-SVN: r203075
This commit is contained in:
parent
5d5f672027
commit
6462fab0a2
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
|
||||
|
||||
* config/arc/arc.c (arc_conditional_register_usage):
|
||||
Use ARC_FIRST_SIMD_VR_REG / ARC_LAST_SIMD_VR_REG.
|
||||
Also set reg_alloc_order for DMA config regs.
|
||||
|
||||
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
|
||||
Jeremy Bennett <jeremy.bennett@embecosm.com>
|
||||
|
||||
|
|
|
@ -1196,7 +1196,10 @@ arc_conditional_register_usage (void)
|
|||
if (TARGET_SIMD_SET)
|
||||
{
|
||||
int i;
|
||||
for (i=64; i<88; i++)
|
||||
for (i = ARC_FIRST_SIMD_VR_REG; i <= ARC_LAST_SIMD_VR_REG; i++)
|
||||
reg_alloc_order [i] = i;
|
||||
for (i = ARC_FIRST_SIMD_DMA_CONFIG_REG;
|
||||
i <= ARC_LAST_SIMD_DMA_CONFIG_REG; i++)
|
||||
reg_alloc_order [i] = i;
|
||||
}
|
||||
/* For Arctangent-A5 / ARC600, lp_count may not be read in an instruction
|
||||
|
|
Loading…
Add table
Reference in a new issue