* config/tc-mips.c (mips_ip): Accept an odd floating point

register with l.s or s.s.
This commit is contained in:
Ian Lance Taylor 1996-10-18 19:33:03 +00:00
parent b502879f75
commit 538034cfb5
2 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,8 @@
Fri Oct 18 14:06:26 1996 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (mips_ip): Accept an odd floating point
register with l.s or s.s.
* config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
.type pseudo-op.
(obj_aout_type): New static function.

View File

@ -5540,10 +5540,12 @@ mips_ip (str, ip)
if ((regno & 1) != 0
&& mips_isa < 3
&& ! (strcmp (str, "mtc1") == 0 ||
strcmp (str, "mfc1") == 0 ||
strcmp (str, "lwc1") == 0 ||
strcmp (str, "swc1") == 0))
&& ! (strcmp (str, "mtc1") == 0
|| strcmp (str, "mfc1") == 0
|| strcmp (str, "lwc1") == 0
|| strcmp (str, "swc1") == 0
|| strcmp (str, "l.s") == 0
|| strcmp (str, "s.s") == 0))
as_warn ("Float register should be even, was %d",
regno);