Format all code with new clang-format
This commit is contained in:
@@ -1963,7 +1963,10 @@ Value* HIRBuilder::CountLeadingZeros(Value* value) {
|
||||
|
||||
if (value->IsConstantZero()) {
|
||||
static const uint8_t zeros[] = {
|
||||
8, 16, 32, 64,
|
||||
8,
|
||||
16,
|
||||
32,
|
||||
64,
|
||||
};
|
||||
assert_true(value->type <= INT64_TYPE);
|
||||
return LoadConstantUint8(zeros[value->type]);
|
||||
|
||||
@@ -15,7 +15,10 @@ namespace hir {
|
||||
|
||||
#define DEFINE_OPCODE(num, name, sig, flags) \
|
||||
const OpcodeInfo num##_info = { \
|
||||
flags, sig, name, num, \
|
||||
flags, \
|
||||
sig, \
|
||||
name, \
|
||||
num, \
|
||||
};
|
||||
#include "xenia/cpu/hir/opcodes.inl"
|
||||
#undef DEFINE_OPCODE
|
||||
|
||||
@@ -87,8 +87,7 @@ enum PackType : uint16_t {
|
||||
PACK_TYPE_16_IN_32 = 7,
|
||||
|
||||
PACK_TYPE_MODE = 0x000F, // just to get the mode
|
||||
|
||||
// Unpack to low or high parts.
|
||||
// Unpack to low or high parts.
|
||||
PACK_TYPE_TO_LO = 0 << 12,
|
||||
PACK_TYPE_TO_HI = 1 << 12,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user