mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-12-14 01:18:46 +00:00
OpcodeDispatcher: optimize nzcv with asimd masked load/store
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
58e949e148
commit
196a0531e0
@ -1347,6 +1347,17 @@ protected:
|
||||
if (CTX->HostFeatures.SupportsAFP) {
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
||||
case OP_VLOADVECTORMASKED:
|
||||
case OP_VLOADVECTORGATHERMASKED:
|
||||
case OP_VSTOREVECTORMASKED:
|
||||
/* On ASIMD platforms, the emulation happens to preserve NZCV, unlike the
|
||||
* more optimal SVE implementation that clobbers.
|
||||
*/
|
||||
if (!CTX->HostFeatures.SupportsSVE128 && !CTX->HostFeatures.SupportsSVE256) {
|
||||
return;
|
||||
}
|
||||
|
||||
break;
|
||||
default: break;
|
||||
|
Loading…
Reference in New Issue
Block a user