2006-01-31 Paul Brook <paul@codesourcery.com>
gas/ * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL. gas/testsuite/ * gas/testsuite/gas/arm/iwmmxt-bad.s: Add check for bad register name. * gas/testsuite/gas/arm/iwmmxt-bad.l: Ditto.
This commit is contained in:
parent
e74cfd166e
commit
791346475b
|
@ -1,3 +1,7 @@
|
||||||
|
2006-01-31 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
|
||||||
|
|
||||||
2006-01-31 Paul Brook <paul@codesourcery.com>
|
2006-01-31 Paul Brook <paul@codesourcery.com>
|
||||||
Richard Earnshaw <rearnsha@arm.com>
|
Richard Earnshaw <rearnsha@arm.com>
|
||||||
|
|
||||||
|
|
|
@ -928,7 +928,7 @@ arm_reg_parse (char **ccp, enum arm_reg_type type)
|
||||||
case REG_TYPE_MVFX:
|
case REG_TYPE_MVFX:
|
||||||
case REG_TYPE_MVDX:
|
case REG_TYPE_MVDX:
|
||||||
/* Generic coprocessor register names are allowed for these. */
|
/* Generic coprocessor register names are allowed for these. */
|
||||||
if (reg->type == REG_TYPE_CN)
|
if (reg && reg->type == REG_TYPE_CN)
|
||||||
return reg->number;
|
return reg->number;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -943,7 +943,7 @@ arm_reg_parse (char **ccp, enum arm_reg_type type)
|
||||||
case REG_TYPE_MMXWC:
|
case REG_TYPE_MMXWC:
|
||||||
/* WC includes WCG. ??? I'm not sure this is true for all
|
/* WC includes WCG. ??? I'm not sure this is true for all
|
||||||
instructions that take WC registers. */
|
instructions that take WC registers. */
|
||||||
if (reg->type == REG_TYPE_MMXWCG)
|
if (reg && reg->type == REG_TYPE_MMXWCG)
|
||||||
return reg->number;
|
return reg->number;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2006-01-31 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* gas/testsuite/gas/arm/iwmmxt-bad.s: Add check for bad register name.
|
||||||
|
* gas/testsuite/gas/arm/iwmmxt-bad.l: Ditto.
|
||||||
|
|
||||||
2006-01-18 Arnold Metselaar <arnoldm@sourceware.org>
|
2006-01-18 Arnold Metselaar <arnoldm@sourceware.org>
|
||||||
|
|
||||||
* gas/z80/z80.exp: Add offset.
|
* gas/z80/z80.exp: Add offset.
|
||||||
|
|
|
@ -7,3 +7,4 @@
|
||||||
[^:]*:6: Error: iWMMXt data register expected -- `wstrb wcgr0,\[r1\]'
|
[^:]*:6: Error: iWMMXt data register expected -- `wstrb wcgr0,\[r1\]'
|
||||||
[^:]*:7: Error: iWMMXt data register expected -- `wstrh wcgr0,\[r1\]'
|
[^:]*:7: Error: iWMMXt data register expected -- `wstrh wcgr0,\[r1\]'
|
||||||
[^:]*:8: Error: iWMMXt data register expected -- `wstrd wcgr0,\[r1\]'
|
[^:]*:8: Error: iWMMXt data register expected -- `wstrd wcgr0,\[r1\]'
|
||||||
|
[^:]*:9: Error: iWMMXt control register expected -- `tmcr wibble,r1'
|
||||||
|
|
|
@ -6,3 +6,4 @@
|
||||||
wstrb wcgr0,[r1]
|
wstrb wcgr0,[r1]
|
||||||
wstrh wcgr0,[r1]
|
wstrh wcgr0,[r1]
|
||||||
wstrd wcgr0,[r1]
|
wstrd wcgr0,[r1]
|
||||||
|
tmcr wibble,r1
|
||||||
|
|
Loading…
Reference in New Issue