* config/tc-hppa.c (pa_ip): Reject double floating point stores and

loads that reference the right half of a floating point register.
This commit is contained in:
Dave Anglin 2012-10-14 23:27:38 +00:00
parent 767b2c6712
commit 26cbfa82ad
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config/tc-hppa.c (pa_ip): Reject double floating point stores and
loads that reference the right half of a floating point register.
2012-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to those

View File

@ -5482,7 +5482,10 @@ pa_ip (char *str)
case 't':
if (!pa_parse_number (&s, 3))
break;
num = (pa_number & ~FP_REG_RSEL) - FP_REG_BASE;
/* RSEL should not be set. */
if (pa_number & FP_REG_RSEL)
break;
num = pa_number - FP_REG_BASE;
CHECK_FIELD (num, 31, 0, 0);
INSERT_FIELD_AND_CONTINUE (opcode, num, 0);