From c77c0862b26d536f91187c34c510cee96bef1f7a Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 22 May 2013 18:08:26 +0000 Subject: =?UTF-8?q?include/opcode/=202013-05-22=20=20J=C3=BCrgen=20Urban?= =?UTF-8?q?=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * mips.h (M_LQC2_AB, M_SQC2_AB): New macros. opcodes/ 2013-05-22 Jürgen Urban * mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions. gas/ 2013-05-22 Jürgen Urban * config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB. gas/testsuite/ 2013-05-22 Jürgen Urban * 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. --- gas/config/tc-mips.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gas/config') diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index b234795..9b191bb 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -8201,6 +8201,13 @@ macro (struct mips_cl_insn *ip) /* Itbl support may require additional care here. */ coproc = 1; goto ld_st; + case M_LQC2_AB: + ab = 1; + s = "lqc2"; + fmt = "E,o(b)"; + /* Itbl support may require additional care here. */ + coproc = 1; + goto ld_st; case M_LDC3_AB: ab = 1; s = "ldc3"; @@ -8390,6 +8397,13 @@ macro (struct mips_cl_insn *ip) /* Itbl support may require additional care here. */ coproc = 1; goto ld_st; + case M_SQC2_AB: + ab = 1; + s = "sqc2"; + fmt = "E,o(b)"; + /* Itbl support may require additional care here. */ + coproc = 1; + goto ld_st; case M_SDC3_AB: ab = 1; gas_assert (!mips_opts.micromips); -- cgit v1.1