ARM: Move some case values out of ##included files.

This will help keep the high level decode together and not have it spread into
the subordinate decode stuff. The ##include lines still need to be on a line
by themselves, though.
This commit is contained in:
Gabe Black 2010-06-02 12:58:18 -05:00
parent 22f15ab94e
commit 10031a0327
3 changed files with 4 additions and 2 deletions

View file

@ -50,7 +50,7 @@
// //
// //
0: decode COND_CODE { decode COND_CODE {
0xF: ArmUnconditional::armUnconditional(); 0xF: ArmUnconditional::armUnconditional();
default: decode ENCODING { default: decode ENCODING {
format DataOp { format DataOp {

View file

@ -41,6 +41,8 @@
// Authors: Gabe Black // Authors: Gabe Black
decode THUMB default Unknown::unknown() { decode THUMB default Unknown::unknown() {
0:
##include "arm.isa" ##include "arm.isa"
1:
##include "thumb.isa" ##include "thumb.isa"
} }

View file

@ -40,7 +40,7 @@
// //
// Authors: Gabe Black // Authors: Gabe Black
1: decode BIGTHUMB { decode BIGTHUMB {
// 16 bit thumb instructions. // 16 bit thumb instructions.
0: decode TOPCODE_15_13 { 0: decode TOPCODE_15_13 {
0x0, 0x1: Thumb16ShiftAddSubMoveCmp::thumb16ShiftAddMoveCmp(); 0x0, 0x1: Thumb16ShiftAddSubMoveCmp::thumb16ShiftAddMoveCmp();