ARM: Hook SVC into the thumb decoder.

This commit is contained in:
Gabe Black
2010-06-02 12:58:05 -05:00
parent cbdebf852e
commit a76ab8e040

View File

@@ -91,7 +91,7 @@ def format Thumb16CondBranchAndSvc() {{
return new B(machInst, sext<9>(bits(machInst, 7, 0) << 1),
(ConditionCode)(uint32_t)bits(machInst, 11, 8));
} else if (bits(machInst, 8)) {
return new WarnUnimplemented("svc", machInst);
return new Svc(machInst);
} else {
// This space will not be allocated in the future.
return new WarnUnimplemented("unimplemented", machInst);