diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-04-27 13:07:53 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-06-30 11:58:02 -0700 |
commit | f40385c959d01bf33a0e3c12ef0fdb402ad98a1c (patch) | |
tree | 24398a0e9854be44bb97140b817723cff0a1c463 /target/xtensa/cpu.h | |
parent | e3800998e66c13b24d8cc8a06fdcc8d03cd408fc (diff) | |
download | qemu-f40385c959d01bf33a0e3c12ef0fdb402ad98a1c.zip qemu-f40385c959d01bf33a0e3c12ef0fdb402ad98a1c.tar.gz qemu-f40385c959d01bf33a0e3c12ef0fdb402ad98a1c.tar.bz2 |
target/xtensa: check zero overhead loop alignment
ISA book documents that the first instruction of zero overhead loop
must fit completely into naturally aligned region of an instruction
fetch unit size. Check that condition and log a message if it's
violated.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/cpu.h')
-rw-r--r-- | target/xtensa/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index e9d2e10..51b4551 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -369,6 +369,7 @@ struct XtensaConfig { unsigned nareg; int excm_level; int ndepc; + unsigned inst_fetch_width; uint32_t vecbase; uint32_t exception_vector[EXC_MAX]; unsigned ninterrupt; |