diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2015-10-04 19:01:27 +0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-10-07 20:03:16 +1100 |
commit | a419e22d703667211521d4257df294047c13eca3 (patch) | |
tree | 6581378e6ead49c265d387f1b2e4fc12c598b8eb /target-tilegx/translate.c | |
parent | aaf893a6ad6c7c0a986638ba599000e13f9f4182 (diff) | |
download | qemu-a419e22d703667211521d4257df294047c13eca3.tar.gz qemu-a419e22d703667211521d4257df294047c13eca3.tar.bz2 qemu-a419e22d703667211521d4257df294047c13eca3.zip |
target-tilegx: Implement v2mults instruction
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Message-Id: <1443956491-26850-3-git-send-email-gang.chen.5i5j@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-tilegx/translate.c')
-rw-r--r-- | target-tilegx/translate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-tilegx/translate.c b/target-tilegx/translate.c index 034cbc22c9..eb2d0b163f 100644 --- a/target-tilegx/translate.c +++ b/target-tilegx/translate.c @@ -1355,7 +1355,11 @@ static TileExcp gen_rrr_opcode(DisasContext *dc, unsigned opext, case OE_RRR(V2MNZ, 0, X1): case OE_RRR(V2MULFSC, 0, X0): case OE_RRR(V2MULS, 0, X0): + return TILEGX_EXCP_OPCODE_UNIMPLEMENTED; case OE_RRR(V2MULTS, 0, X0): + gen_helper_v2mults(tdest, tsrca, tsrcb); + mnemonic = "v2mults"; + break; case OE_RRR(V2MZ, 0, X0): case OE_RRR(V2MZ, 0, X1): case OE_RRR(V2PACKH, 0, X0): |