From 6ea6b8b51d282b2a5b0c97770a538760cc6805be Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Sun, 14 May 2017 09:28:58 -0500 Subject: [PATCH] x64: Change binary strings to actual binary numbers. --- src/xenia/cpu/backend/x64/x64_sequences.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/xenia/cpu/backend/x64/x64_sequences.cc b/src/xenia/cpu/backend/x64/x64_sequences.cc index a57a51422..cd0891e0b 100644 --- a/src/xenia/cpu/backend/x64/x64_sequences.cc +++ b/src/xenia/cpu/backend/x64/x64_sequences.cc @@ -7197,8 +7197,8 @@ struct PACK : Sequence> { // TMP[15:0] <- (DEST[31:0] < 0) ? 0 : DEST[15:0]; // DEST[15:0] <- (DEST[31:0] > FFFFH) ? FFFFH : TMP[15:0]; e.vpackusdw(i.dest, i.src1, i.src2); - e.vpshuflw(i.dest, i.dest, B10110001); - e.vpshufhw(i.dest, i.dest, B10110001); + e.vpshuflw(i.dest, i.dest, 0b10110001); + e.vpshufhw(i.dest, i.dest, 0b10110001); } else { // signed -> unsigned assert_always(); @@ -7216,8 +7216,8 @@ struct PACK : Sequence> { src2 = e.xmm0; } e.vpackssdw(i.dest, i.src1, src2); - e.vpshuflw(i.dest, i.dest, B10110001); - e.vpshufhw(i.dest, i.dest, B10110001); + e.vpshuflw(i.dest, i.dest, 0b10110001); + e.vpshufhw(i.dest, i.dest, 0b10110001); } else { // signed -> signed assert_always(); @@ -7318,7 +7318,7 @@ struct UNPACK : Sequence> { // Shuffle to 0|0|0|0|0|0|Y|X e.vpshufb(i.dest, i.src1, e.GetXmmConstPtr(XMMUnpackFLOAT16_2)); e.vcvtph2ps(i.dest, i.dest); - e.vpshufd(i.dest, i.dest, B10100100); + e.vpshufd(i.dest, i.dest, 0b10100100); e.vpor(i.dest, e.GetXmmConstPtr(XMM0001)); } else { Xmm src;