[x64] Remove usage of `xbyak_bin2hex.h`
C++ has had binary-literals since C++14. There is no need for these binary enum values from xbyak.
This commit is contained in:
parent
f356cf5df8
commit
c1de37f381
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
// NOTE: must be included last as it expects windows.h to already be included.
|
// NOTE: must be included last as it expects windows.h to already be included.
|
||||||
#include "third_party/xbyak/xbyak/xbyak.h"
|
#include "third_party/xbyak/xbyak/xbyak.h"
|
||||||
#include "third_party/xbyak/xbyak/xbyak_bin2hex.h"
|
|
||||||
#include "third_party/xbyak/xbyak/xbyak_util.h"
|
#include "third_party/xbyak/xbyak/xbyak_util.h"
|
||||||
|
|
||||||
namespace xe {
|
namespace xe {
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "third_party/xbyak/xbyak/xbyak_bin2hex.h"
|
|
||||||
#include "xenia/cpu/testing/util.h"
|
#include "xenia/cpu/testing/util.h"
|
||||||
|
|
||||||
using namespace xe;
|
using namespace xe;
|
||||||
|
@ -23,16 +22,17 @@ TEST_CASE("VECTOR_ROTATE_LEFT_I8", "[instr]") {
|
||||||
});
|
});
|
||||||
test.Run(
|
test.Run(
|
||||||
[](PPCContext* ctx) {
|
[](PPCContext* ctx) {
|
||||||
ctx->v[4] = vec128b(B00000001);
|
ctx->v[4] = vec128b(0b00000001);
|
||||||
ctx->v[5] =
|
ctx->v[5] =
|
||||||
vec128b(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
|
vec128b(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
|
||||||
},
|
},
|
||||||
[](PPCContext* ctx) {
|
[](PPCContext* ctx) {
|
||||||
auto result = ctx->v[3];
|
auto result = ctx->v[3];
|
||||||
REQUIRE(result == vec128b(B00000001, B00000010, B00000100, B00001000,
|
REQUIRE(result ==
|
||||||
B00010000, B00100000, B01000000, B10000000,
|
vec128b(0b00000001, 0b00000010, 0b00000100, 0b00001000,
|
||||||
B00000001, B00000010, B00000100, B00001000,
|
0b00010000, 0b00100000, 0b01000000, 0b10000000,
|
||||||
B00010000, B00100000, B01000000, B10000000));
|
0b00000001, 0b00000010, 0b00000100, 0b00001000,
|
||||||
|
0b00010000, 0b00100000, 0b01000000, 0b10000000));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue