s390x: add TR function for EXECUTE
Newer gcc versions (or glibc?) also generate code that tries to EXECUTE the TR opcode. Implement it so that we don't break valid guests. Reported-by: Andreas Faerber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
971ca4d906
commit
7d77793d6b
@ -636,6 +636,9 @@ uint32_t HELPER(ex)(uint32_t cc, uint64_t v1, uint64_t addr, uint64_t ret)
|
||||
case 0x700:
|
||||
cc = helper_xc(l, get_address(0, b1, d1), get_address(0, b2, d2));
|
||||
break;
|
||||
case 0xc00:
|
||||
helper_tr(l, get_address(0, b1, d1), get_address(0, b2, d2));
|
||||
break;
|
||||
default:
|
||||
goto abort;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user