# HG changeset patch
# User Timothy M. Jones <[email protected]>
# Date 1255513044 -3600
# Node ID a485937b7038f1616d37a28b242b8a6fbdeb068c
# Parent 79756edd111f56e8a337fa32a44d179e554716d8
Provide correct instruction flags for syscall instruction.
In particular, flag as a system call, non-speculative execution and
serialise instructions afterwards.
diff --git a/src/arch/powerpc/isa/decoder.isa b/src/arch/powerpc/isa/decoder.isa
--- a/src/arch/powerpc/isa/decoder.isa
+++ b/src/arch/powerpc/isa/decoder.isa
@@ -512,7 +512,8 @@
55: stfdu({{ Mem.df = Fs; }});
}
- 17: IntOp::sc({{ xc->syscall(R0); }});
+ 17: IntOp::sc({{ xc->syscall(R0); }},
+ [ IsSyscall, IsNonSpeculative, IsSerializeAfter ]);
format FloatArithOp {
59: decode A_XO {
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev