* config/tc-hppa.c (pa_ip): Reject double floating point stores and
authorDave Anglin <dave.anglin@nrc.ca>
Sun, 14 Oct 2012 23:27:38 +0000 (23:27 +0000)
committerDave Anglin <dave.anglin@nrc.ca>
Sun, 14 Oct 2012 23:27:38 +0000 (23:27 +0000)
loads that reference the right half of a floating point register.

gas/ChangeLog
gas/config/tc-hppa.c

index 0fb92862a85dea223f05e86afc6b07bbd24a0726..376869e9d6b2e63b074cb64b90313dca40efa166 100644 (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
index 6411e36cc398c4ac8d8603ee7e270dce7161f45d..16192d8969ff4a05ba329a4de95ff6bf048cb572 100644 (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);
 
This page took 0.028657 seconds and 4 git commands to generate.