Merge pull request #5900 from simon902/fincstp_tag_word

x87StackOptimizationPass: Generalize ST(0) tag invalidation on pop
This commit is contained in:
LC authored and GitHub committed 2026-09-03 09:43:37 -04:00
commit ac6be77592
107 files changed
+320 -169

No files matched your search

@@ -272,7 +272,7 @@ private:
Ref LoadStackValueAtOffset_Slow(uint8_t Offset = 0);
void StoreStackValueAtOffset_Slow(Ref Value, uint8_t Offset = 0, bool SetValid = true);
// Update Top value in slow path for a pop
void UpdateTopForPop_Slow();
void UpdateTopForPop_Slow(bool InvalidateTag = true);
void UpdateTopForPush_Slow();
// Synchronizes the current simulated stack with the actual values.
// Returns a new value for Top, that's synchronized between the simulated stack
@@ -573,12 +573,16 @@ void X87StackOptimization::HandleBinopStack(IROps Op64, bool VFOp64, IROps Op80,
HandleBinopValue(Op64, VFOp64, Op80, DestStackOffset, StackOffset2 != DestStackOffset, StackOffset1, StackNode, Reverse);
}
inline void X87StackOptimization::UpdateTopForPop_Slow() {
inline void X87StackOptimization::UpdateTopForPop_Slow(bool InvalidateTag) {
const auto PopContainer = [](auto& container) {
const auto begin = std::begin(container);
std::rotate(begin, std::next(begin), std::end(container));
};
if (InvalidateTag) {
SetX87ValidTag(0, false);
}
// Pop the top of the x87 stack
GetOffsetTopWithCache_Slow(1);
PopContainer(TopOffsetCache);
@@ -1050,9 +1054,6 @@ void X87StackOptimization::Run(IREmitter* Emit) {
break;
}
case OP_POPSTACKDESTROY: {
if (SlowPath) {
SetX87ValidTag(0, false);
}
StackPop();
break;
}
@@ -1178,7 +1179,7 @@ void X87StackOptimization::Run(IREmitter* Emit) {
case OP_INCSTACKTOP: {
if (SlowPath) {
UpdateTopForPop_Slow();
UpdateTopForPop_Slow(false);
} else {
StackData.rotate(false);
}
+1 -1
View File
@@ -207,7 +207,7 @@ namespace DiskCache {
// TODO: This header is in global installed header path, but uses internal headers.
// Migrate this once that is fixed.
static constexpr uint16_t FormatVersion = 10;
static constexpr uint16_t FormatVersion = 11;
FEX_DEFAULT_VISIBILITY uint16_t GetFormatVersion();
} // namespace DiskCache
@@ -0,0 +1,24 @@
%ifdef CONFIG
{
"RegData": {
"RAX": "0xff"
}
}
%endif
mov word [rel .fxsave_data + 0], 0x037f ; FCW
mov byte [rel .fxsave_data + 4], 0xff ; FTW
; FSW = 0
fxrstor [rel .fxsave_data]
fincstp
fxsave [rel .fxsave_data]
movzx rax, byte [rel .fxsave_data + 4] ; FTW
hlt
align 4096
.fxsave_data:
times 64 dq 0
@@ -0,0 +1,33 @@
%ifdef CONFIG
{
"RegData": {
"RAX": "0x80"
}
}
%endif
; FEX had a bug in the slow path of x87 stack-optimization pass:
; popping the FPU stack never invalidated ST(0)
;
; Note this test only actually exercises the bug under the jit_1 run
; since otherwise the fast path is taken
fninit
fld1
fldl2e
fpatan
fxsave [rel .data]
; FTW
; Bit 6 (popped value) must be 0 now
; Bit 7 (result) must be 1
movzx eax, byte [rel .data + 4]
hlt
align 16
.data:
times 64 dq 0
@@ -0,0 +1,33 @@
%ifdef CONFIG
{
"RegData": {
"RAX": "0x80"
}
}
%endif
; FEX had a bug in the slow path of x87 stack-optimization pass:
; popping the FPU stack never invalidated ST(0)
;
; Note this test only actually exercises the bug under the jit_1 run
; since otherwise the fast path is taken
fninit
fld1
fld1
fyl2x
fxsave [rel .data]
; FTW
; Bit 6 (popped value) must be 0 now
; Bit 7 (result) must be 1
movzx eax, byte [rel .data + 4]
hlt
align 16
.data:
times 64 dq 0
+1 -1
View File
@@ -8,7 +8,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"roundss xmm0, xmm1, 00000000b": {
@@ -7,7 +7,7 @@
"AFP"
],
"DisabledHostFeatures": [],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"cvtpi2ps xmm0, [rax]": {
@@ -9,7 +9,7 @@
"DisabledHostFeatures": [
"RPRES"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"cvtsi2ss xmm0, eax": {
@@ -7,7 +7,7 @@
"AFP"
],
"DisabledHostFeatures": [],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"cvtsi2sd xmm0, eax": {
@@ -8,7 +8,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"cvtpi2ps xmm0, [rax]": {
@@ -9,7 +9,7 @@
"SVE256",
"RPRES"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"cvtsi2ss xmm0, eax": {
@@ -8,7 +8,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"cvtsi2sd xmm0, eax": {
@@ -9,7 +9,7 @@
"DisabledHostFeatures": [
"RPRES"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vsqrtss xmm0, xmm1, xmm2": {
@@ -7,7 +7,7 @@
"AFP"
],
"DisabledHostFeatures": [],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vroundss xmm0, xmm1, 00000000b": {
@@ -7,7 +7,7 @@
"SVE256",
"SVE128"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vfmaddsubps xmm0, xmm1, xmm2, xmm3": {
@@ -13,7 +13,7 @@
"SVE256",
"SVE128"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vmovups xmm0, xmm0": {
@@ -9,7 +9,7 @@
"SVE256",
"SVE128"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vaddsubpd xmm0, xmm1, xmm2": {
@@ -10,7 +10,7 @@
"FLAGM2",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vmovntps [rax], xmm0": {
@@ -10,7 +10,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vucomiss xmm0, xmm1": {
@@ -9,7 +9,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vpshufb xmm0, xmm1, xmm2": {
@@ -8,7 +8,7 @@
"SVE256",
"SVE128"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vfmadd132ss xmm0, xmm1, xmm2": {
@@ -10,7 +10,7 @@
"FLAGM2",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vmovntdqa xmm0, [rax]": {
@@ -11,7 +11,7 @@
"SVE256",
"SVEBITPERM"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vtestps xmm0, xmm1": {
@@ -7,7 +7,7 @@
"SVE256",
"SVE128"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vpermq ymm0, ymm1, 1": {
@@ -8,7 +8,7 @@
"AFP",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vblendvps xmm0, xmm1, xmm2, xmm3": {
@@ -9,7 +9,7 @@
"SVE256",
"SVE128"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vpsrlw xmm0, xmm1, 0": {
+1 -1
View File
@@ -9,7 +9,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"lock add byte [rax], cl": {
@@ -9,7 +9,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"sha1nexte xmm0, xmm1": {
@@ -9,7 +9,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"sha1nexte xmm0, xmm1": {
@@ -9,7 +9,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"pclmulqdq xmm0, xmm1, 00000b": {
+1 -1
View File
@@ -10,7 +10,7 @@
"AFP",
"RPRES"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"These 3DNow! instructions are optimal assuming that FEX doesn't SRA MMX registers",
@@ -8,7 +8,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"Instructions that explicitly push against the limits of ARM's loadstore instructions"
@@ -8,7 +8,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"Instructions that explicitly push against the limits of ARM's loadstore instructions"
@@ -13,7 +13,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"These are instruction combinations that could be more optimal if FEX optimized for them"
@@ -11,7 +11,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"These are instruction combinations that could be more optimal if FEX optimized for them"
@@ -9,7 +9,7 @@
"SVE256",
"RPRES"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"These are instruction combinations that could be more optimal if FEX optimized for them"
@@ -14,7 +14,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"These are instruction combinations that could be more optimal if FEX optimized for them"
@@ -14,7 +14,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"These are instruction combinations that could be more optimal if FEX optimized for them"
@@ -12,7 +12,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [],
"Instructions": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"lock add byte [rax], cl": {
@@ -9,7 +9,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Chained add": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"ptest xmm0, xmm1": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"The Witcher 3": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Sonic Mania movie player": {
@@ -10,7 +10,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"FMOD scalar loop": {
@@ -13,7 +13,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"The Sims 1 hot block": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"add bl, cl": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"add al, 1": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"push es": {
@@ -11,7 +11,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"ucomiss xmm0, xmm1": {
@@ -11,7 +11,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"sgdt [rax]": {
@@ -11,7 +11,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"xgetbv": {
@@ -11,7 +11,7 @@
"AFP",
"FCMA"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"ucomisd xmm0, xmm1": {
@@ -12,7 +12,7 @@
"AFP",
"CSSC"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"popcnt ax, bx": {
@@ -12,7 +12,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"popcnt ax, bx": {
@@ -12,7 +12,7 @@
"RPRES",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vucomiss xmm0, xmm1": {
@@ -10,7 +10,7 @@
"AFP",
"SVEBITPERM"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vtestps xmm0, xmm1": {
@@ -9,7 +9,7 @@
"DisabledHostFeatures": [
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"blsr eax, ebx": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Block1": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Block1": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Block1": {
@@ -10,7 +10,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Block1": {
+31 -16
View File
@@ -11,7 +11,7 @@
"CSSC",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"fadd dword [rax]": {
@@ -2741,7 +2741,7 @@
]
},
"fyl2x": {
"ExpectedInstructionCount": 17,
"ExpectedInstructionCount": 22,
"Comment": [
"0xd9 11b 0xf1 /6"
],
@@ -2751,8 +2751,8 @@
"and w21, w21, #0x7",
"add x22, x28, x21, lsl #4",
"ldr q2, [x22, #1056]",
"add x20, x28, x20, lsl #4",
"ldr q3, [x20, #1056]",
"add x23, x28, x20, lsl #4",
"ldr q3, [x23, #1056]",
"str x30, [sp, #-16]!",
"mov v0.16b, v3.16b",
"mov v1.16b, v2.16b",
@@ -2762,7 +2762,12 @@
"ldr x30, [sp], #16",
"mov v2.16b, v0.16b",
"strb w21, [x28, #1051]",
"str q2, [x22, #1056]"
"str q2, [x22, #1056]",
"ldrb w21, [x28, #1202]",
"mov w22, #0x1",
"lsl w20, w22, w20",
"bic w20, w21, w20",
"strb w20, [x28, #1202]"
]
},
"fptan": {
@@ -2797,7 +2802,7 @@
]
},
"fpatan": {
"ExpectedInstructionCount": 17,
"ExpectedInstructionCount": 22,
"Comment": [
"0xd9 11b 0xf3 /6"
],
@@ -2805,10 +2810,10 @@
"ldrb w20, [x28, #1051]",
"add x21, x28, x20, lsl #4",
"ldr q2, [x21, #1056]",
"add w20, w20, #0x1 (1)",
"and w20, w20, #0x7",
"add x21, x28, x20, lsl #4",
"ldr q3, [x21, #1056]",
"add w21, w20, #0x1 (1)",
"and w21, w21, #0x7",
"add x22, x28, x21, lsl #4",
"ldr q3, [x22, #1056]",
"str x30, [sp, #-16]!",
"mov v0.16b, v3.16b",
"mov v1.16b, v2.16b",
@@ -2817,8 +2822,13 @@
"blr x0",
"ldr x30, [sp], #16",
"mov v2.16b, v0.16b",
"strb w20, [x28, #1051]",
"str q2, [x21, #1056]"
"strb w21, [x28, #1051]",
"str q2, [x22, #1056]",
"ldrb w21, [x28, #1202]",
"mov w22, #0x1",
"lsl w20, w22, w20",
"bic w20, w21, w20",
"strb w20, [x28, #1202]"
]
},
"fxtract": {
@@ -2934,7 +2944,7 @@
]
},
"fyl2xp1": {
"ExpectedInstructionCount": 17,
"ExpectedInstructionCount": 22,
"Comment": [
"0xd9 11b 0xf9 /7"
],
@@ -2944,8 +2954,8 @@
"and w21, w21, #0x7",
"add x22, x28, x21, lsl #4",
"ldr q2, [x22, #1056]",
"add x20, x28, x20, lsl #4",
"ldr q3, [x20, #1056]",
"add x23, x28, x20, lsl #4",
"ldr q3, [x23, #1056]",
"str x30, [sp, #-16]!",
"mov v0.16b, v3.16b",
"mov v1.16b, v2.16b",
@@ -2955,7 +2965,12 @@
"ldr x30, [sp], #16",
"mov v2.16b, v0.16b",
"strb w21, [x28, #1051]",
"str q2, [x22, #1056]"
"str q2, [x22, #1056]",
"ldrb w21, [x28, #1202]",
"mov w22, #0x1",
"lsl w20, w22, w20",
"bic w20, w21, w20",
"strb w20, [x28, #1202]"
]
},
"fsqrt": {
@@ -13,7 +13,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Block1": {
@@ -13,7 +13,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Block1": {
@@ -13,7 +13,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Block1": {
@@ -13,7 +13,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"Block1": {
+31 -16
View File
@@ -13,7 +13,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"fadd dword [rax]": {
@@ -2161,7 +2161,7 @@
]
},
"fyl2x": {
"ExpectedInstructionCount": 16,
"ExpectedInstructionCount": 21,
"Comment": [
"0xd9 11b 0xf1 /6"
],
@@ -2171,8 +2171,8 @@
"and w21, w21, #0x7",
"add x22, x28, x21, lsl #4",
"ldr d2, [x22, #1056]",
"add x20, x28, x20, lsl #4",
"ldr d3, [x20, #1056]",
"add x23, x28, x20, lsl #4",
"ldr d3, [x23, #1056]",
"fmov d0, d3",
"fmov d1, d2",
"ldr x0, [x28, #3080]",
@@ -2181,7 +2181,12 @@
"ldr x30, [sp], #16",
"fmov d2, d0",
"strb w21, [x28, #1051]",
"str d2, [x22, #1056]"
"str d2, [x22, #1056]",
"ldrb w21, [x28, #1202]",
"mov w22, #0x1",
"lsl w20, w22, w20",
"bic w20, w21, w20",
"strb w20, [x28, #1202]"
]
},
"fptan": {
@@ -2216,7 +2221,7 @@
]
},
"fpatan": {
"ExpectedInstructionCount": 16,
"ExpectedInstructionCount": 21,
"Comment": [
"0xd9 11b 0xf3 /6"
],
@@ -2224,10 +2229,10 @@
"ldrb w20, [x28, #1051]",
"add x21, x28, x20, lsl #4",
"ldr d2, [x21, #1056]",
"add w20, w20, #0x1 (1)",
"and w20, w20, #0x7",
"add x21, x28, x20, lsl #4",
"ldr d3, [x21, #1056]",
"add w21, w20, #0x1 (1)",
"and w21, w21, #0x7",
"add x22, x28, x21, lsl #4",
"ldr d3, [x22, #1056]",
"fmov d0, d3",
"fmov d1, d2",
"ldr x0, [x28, #3072]",
@@ -2235,8 +2240,13 @@
"blr x0",
"ldr x30, [sp], #16",
"fmov d2, d0",
"strb w20, [x28, #1051]",
"str d2, [x21, #1056]"
"strb w21, [x28, #1051]",
"str d2, [x22, #1056]",
"ldrb w21, [x28, #1202]",
"mov w22, #0x1",
"lsl w20, w22, w20",
"bic w20, w21, w20",
"strb w20, [x28, #1202]"
]
},
"fxtract": {
@@ -2360,7 +2370,7 @@
]
},
"fyl2xp1": {
"ExpectedInstructionCount": 16,
"ExpectedInstructionCount": 21,
"Comment": [
"0xd9 11b 0xf9 /7"
],
@@ -2370,8 +2380,8 @@
"and w21, w21, #0x7",
"add x22, x28, x21, lsl #4",
"ldr d2, [x22, #1056]",
"add x20, x28, x20, lsl #4",
"ldr d3, [x20, #1056]",
"add x23, x28, x20, lsl #4",
"ldr d3, [x23, #1056]",
"fmov d0, d3",
"fmov d1, d2",
"ldr x0, [x28, #3088]",
@@ -2380,7 +2390,12 @@
"ldr x30, [sp], #16",
"fmov d2, d0",
"strb w21, [x28, #1051]",
"str d2, [x22, #1056]"
"str d2, [x22, #1056]",
"ldrb w21, [x28, #1202]",
"mov w22, #0x1",
"lsl w20, w22, w20",
"bic w20, w21, w20",
"strb w20, [x28, #1202]"
]
},
"fsqrt": {
+1 -1
View File
@@ -10,7 +10,7 @@
"FLAGM2",
"CRYPTO"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"pshufb mm0, mm1": {
+1 -1
View File
@@ -8,7 +8,7 @@
"AFP",
"CRYPTO"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"SSE4.2 string instructions are skipped here.",
@@ -8,7 +8,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"dpps xmm0, xmm1, 00000000b": {
@@ -11,7 +11,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"rep movsb": {
+1 -1
View File
@@ -10,7 +10,7 @@
"FLAGM2",
"MOPS"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"add bl, cl": {
@@ -9,7 +9,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"Instructions in this table that are marked optimal don't have their flag calculation part of this assumption",
@@ -9,7 +9,7 @@
"FlagM",
"FlagM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"push es": {
+1 -1
View File
@@ -9,7 +9,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"pfrcpv mm0, mm1": {
@@ -9,7 +9,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"rsqrtps xmm0, xmm1": {
@@ -9,7 +9,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"rsqrtss xmm0, xmm1": {
@@ -8,7 +8,7 @@
"AFP"
],
"DisabledHostFeatures": [],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vrsqrtps xmm0, xmm1": {
+1 -1
View File
@@ -6,7 +6,7 @@
"SVE128",
"SVE256"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {}
}
@@ -33,7 +33,7 @@
" - 1b: ECX = MSB",
"[7] - Reserved"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"pcmpestrm xmm0, xmm1, 0_0_00_00_00b": {
+1 -1
View File
@@ -12,7 +12,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Comment": [
"MMX instructions are defined as optimal without SRA being used for these instructions.",
@@ -11,7 +11,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"sgdt [rax]": {
@@ -11,7 +11,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"xgetbv": {
@@ -7,7 +7,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"push fs": {
@@ -12,7 +12,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"movupd xmm0, xmm0": {
@@ -9,7 +9,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"addsubpd xmm0, xmm1": {
@@ -8,7 +8,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"psrlw xmm0, xmm1": {
@@ -7,7 +7,7 @@
"AFP"
],
"DisabledHostFeatures": [],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"pmulhuw xmm0, xmm1": {
@@ -12,7 +12,7 @@
"FRINTTS",
"CSSC"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"movss xmm0, xmm1": {
@@ -10,7 +10,7 @@
"FCMA",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"movsd xmm0, xmm1": {
@@ -9,7 +9,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"addsubps xmm0, xmm1": {
@@ -10,7 +10,7 @@
"FCMA",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"cvtpd2dq xmm0, xmm1": {
@@ -12,7 +12,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"cvttss2si eax, xmm0": {
@@ -8,7 +8,7 @@
"SVE256",
"AFP"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"movmskps eax, xmm0": {
+1 -1
View File
@@ -13,7 +13,7 @@
"FLAGM2",
"FRINTTS"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vmovups xmm0, xmm0": {
@@ -8,7 +8,7 @@
"FCMA"
],
"DisabledHostFeatures": [],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vaddsubpd xmm0, xmm1, xmm2": {
@@ -13,7 +13,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vcvttss2si eax, xmm0": {
+1 -1
View File
@@ -11,7 +11,7 @@
"FLAGM2",
"SVEBITPERM"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"vpshufb xmm0, xmm1, xmm2": {
@@ -11,7 +11,7 @@
"FLAGM",
"FLAGM2"
],
"BinaryCacheVersion": 10
"BinaryCacheVersion": 11
},
"Instructions": {
"pext eax, ebx, ecx": {
Loaded 100 of 107 files, more files were not shown because too many files have changed in this diff. Show more