diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2011-09-06 03:55:38 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-09-10 16:57:38 +0000 |
commit | 28067b2288c70d7ce9a3735a777b73a627c71a1f (patch) | |
tree | 7d66ae951026351e2ae8688397942b9fcad65daa /target-xtensa | |
parent | 91a5bb76d47e1b06f0b7b67cae8497d8efc6ab87 (diff) | |
download | qemu-28067b2288c70d7ce9a3735a777b73a627c71a1f.zip qemu-28067b2288c70d7ce9a3735a777b73a627c71a1f.tar.gz qemu-28067b2288c70d7ce9a3735a777b73a627c71a1f.tar.bz2 |
target-xtensa: implement SYNC group
All operations in this group are no-ops, because there are no delayed
side effects.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa')
-rw-r--r-- | target-xtensa/translate.c | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c index 8f92dfb..4f1c18e 100644 --- a/target-xtensa/translate.c +++ b/target-xtensa/translate.c @@ -429,7 +429,36 @@ static void disas_xtensa_insn(DisasContext *dc) break; case 2: /*SYNC*/ - TBD(); + switch (RRR_T) { + case 0: /*ISYNC*/ + break; + + case 1: /*RSYNC*/ + break; + + case 2: /*ESYNC*/ + break; + + case 3: /*DSYNC*/ + break; + + case 8: /*EXCW*/ + HAS_OPTION(XTENSA_OPTION_EXCEPTION); + break; + + case 12: /*MEMW*/ + break; + + case 13: /*EXTW*/ + break; + + case 15: /*NOP*/ + break; + + default: /*reserved*/ + RESERVED(); + break; + } break; case 3: /*RFEIx*/ |