aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-04-24 02:26:37 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-04-26 19:05:17 -0400
commit894406b9d3fec68d5390cb6b52a656aae534eeb1 (patch)
tree3c65a49048c575a0e355baa3bcac8e1ee57942d7 /src
parent1f18b53589bc96c812ba2ca022356122e91bbd27 (diff)
downloadzig-894406b9d3fec68d5390cb6b52a656aae534eeb1.tar.gz
zig-894406b9d3fec68d5390cb6b52a656aae534eeb1.zip
behavior: update passing cbe tests
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86_64/Encoding.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64/Encoding.zig b/src/arch/x86_64/Encoding.zig
index 94849cce00..21899b912b 100644
--- a/src/arch/x86_64/Encoding.zig
+++ b/src/arch/x86_64/Encoding.zig
@@ -89,7 +89,7 @@ pub fn findByOpcode(opc: []const u8, prefixes: struct {
if (!std.mem.eql(u8, opc, enc.opcode())) continue;
if (prefixes.rex.w) {
switch (data.mode) {
- .short, .fpu, .sse, .sse2, .sse2_long, .sse4_1, .none => continue,
+ .short, .fpu, .sse, .sse2, .sse4_1, .none => continue,
.long, .sse2_long, .rex => {},
}
} else if (prefixes.rex.present and !prefixes.rex.isSet()) {