]> git.proxmox.com Git - mirror_qemu.git/commit
target/xtensa: check zero overhead loop alignment
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 27 Apr 2018 20:07:53 +0000 (13:07 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 30 Jun 2018 18:58:02 +0000 (11:58 -0700)
commitf40385c959d01bf33a0e3c12ef0fdb402ad98a1c
tree24398a0e9854be44bb97140b817723cff0a1c463
parente3800998e66c13b24d8cc8a06fdcc8d03cd408fc
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>
target/xtensa/cpu.h
target/xtensa/overlay_tool.h
target/xtensa/translate.c