[PATCH] Support VU0 on MIPS R5900

Richard Sandiford rdsandiford@googlemail.com
Wed May 22 18:08:00 GMT 2013


"Jürgen Urban" <JuergenUrban@gmx.de> writes:
> Hello Richard,
>
>> Thanks for the patch.  The code itself looks good.  However, I think it'd
>> be better to extend the test to include the four branch instructions.
>> It should also cover the LQC2 and SQC2 macros added here:
>
> The new attached patch includes the additional tests. I also added tests
> for sq/lq, because this is similar and was also missing. I fixed also
> some bad comments in the old test.

Thanks, applied with the changelogs below.

Richard


include/opcode/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

	* mips.h (M_LQC2_AB, M_SQC2_AB): New macros.

opcodes/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

	* mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions.

gas/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

	* config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB.

gas/testsuite/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

	* gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ
	and SQ macros.
	* gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test.
	* gas/mips/mips.exp: Run it.



More information about the Binutils mailing list