Permalink
Browse files

ARM64 JIT: Fix additional VFPU prefix problems

  • Loading branch information...
hrydgard committed Nov 24, 2017
1 parent 2cceba4 commit 87942dd741647a49e8dc921543063c872127101c
Showing with 6 additions and 0 deletions.
  1. +6 −0 Core/MIPS/ARM64/Arm64CompVFPU.cpp
@@ -1301,6 +1301,8 @@ namespace MIPSComp {
void Arm64Jit::Comp_Vi2x(MIPSOpcode op) {
CONDITIONAL_DISABLE;
if (js.HasUnknownPrefix())
DISABLE;
int bits = ((op >> 16) & 2) == 0 ? 8 : 16; // vi2uc/vi2c (0/1), vi2us/vi2s (2/3)
bool unsignedOp = ((op >> 16) & 1) == 0; // vi2uc (0), vi2us (2)
@@ -1367,6 +1369,10 @@ namespace MIPSComp {
}
void Arm64Jit::Comp_Vx2i(MIPSOpcode op) {
CONDITIONAL_DISABLE;

This comment has been minimized.

@unknownbrackets

unknownbrackets Nov 24, 2017

Collaborator

armjit here too.

-[Unknown]

if (js.HasUnknownPrefix())
DISABLE;
int bits = ((op >> 16) & 2) == 0 ? 8 : 16; // vuc2i/vc2i (0/1), vus2i/vs2i (2/3)
bool unsignedOp = ((op >> 16) & 1) == 0; // vuc2i (0), vus2i (2)

0 comments on commit 87942dd

Please sign in to comment.