summaryrefslogtreecommitdiff
path: root/src/sim/pseudo_inst.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-05-02 11:54:08 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-05-02 11:54:08 +0200
commit12d7498ad5da51062d9a93afe7fcf5f7a89f8f2a (patch)
treec4538d3e516be08888a329b8d4462127ae1caf5f /src/sim/pseudo_inst.cc
parent9f8b1aec492f89d9a856e1df1ca827fdf9baa07b (diff)
downloadgem5-12d7498ad5da51062d9a93afe7fcf5f7a89f8f2a.tar.xz
sim: Add support for m5fail in pseudoInst()
Diffstat (limited to 'src/sim/pseudo_inst.cc')
-rw-r--r--src/sim/pseudo_inst.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sim/pseudo_inst.cc b/src/sim/pseudo_inst.cc
index 52c7502a1..4166797fb 100644
--- a/src/sim/pseudo_inst.cc
+++ b/src/sim/pseudo_inst.cc
@@ -129,6 +129,10 @@ pseudoInst(ThreadContext *tc, uint8_t func, uint8_t subfunc)
m5exit(tc, args[0]);
break;
+ case 0x22:
+ m5fail(tc, args[0], args[1]);
+ break;
+
case 0x30: // initparam_func
return initParam(tc);