/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
H A D | macro_assembler_aarch64.cpp | 23 constexpr uint32_t k16BitSize = 16; member 227 return ((val & ((static_cast<uint64_t>(0xffff)) << k16BitSize)) == val || in IsMoveWidableImmediate() 307 for (uint64_t i = 0; i < k4BitSize; ++i, sa += k16BitSize) { in BetterUseMOVZ() 338 if (((srcVal >> k16BitSize) & 0x0000FFFFULL) == 0 || ((srcVal >> k16BitSize) & 0x0000FFFFULL) == 0xFFFFULL) { in CopyImm() 346 int64_t srcUpper = static_cast<int64_t>((srcVal >> k16BitSize) & 0x0000FFFFULL); in CopyImm() 347 assembler.Movk(destReg, srcUpper, k16BitSize); in CopyImm() 374 for (int64_t i = 0; i < maxLoopTime; ++i, sa += k16BitSize) { in CopyImmSize64() 384 src16 = ~(static_cast<uint64_t>(src16)) & ((1ULL << k16BitSize) - 1UL); in CopyImmSize64()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_reg_info.cpp | 81 case k16BitSize: in BuildStrInsn() 107 case k16BitSize: in BuildLdrInsn()
|
H A D | x64_args.cpp | 135 } else if (opndSize == k16BitSize) { in GenerateMovInsn() 201 } else if (opndSize == k16BitSize) { in LoadStackArgsToVReg() 237 } else if (srcBitSize == k16BitSize) { in MoveArgsToVReg() 270 if (x64CGFunc->GetBecommon().GetTypeSize(idx) <= k16BitSize) { in MoveVRegisterArgs()
|
H A D | x64_MPIsel.cpp | 559 : (bitSize == k16BitSize) ? x64::MOP_imulw_r_r in SelectMpy() 623 : (bitSize == k16BitSize) ? x64::MOP_cwd in SelectDivRem() 635 : (bitSize == k16BitSize) ? (isSigned ? x64::MOP_idivw_r : x64::MOP_divw_r) in SelectDivRem()
|
H A D | x64_cgfunc.cpp | 525 case k16BitSize: in DumpRegInfo()
|
H A D | x64_emitter.cpp | 65 case k16BitSize: in TransferReg()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_imm_valid.h | 56 return ((val & ((static_cast<uint64>(0xffff)) << k16BitSize)) == val || (val & static_cast<uint64>(0xffff)) == val); in IsMoveWidableImmediateCopy() 229 return value == k0BitSize || value == k16BitSize; in ImmShift32Valid() 235 return value == k0BitSize || value == k16BitSize || value == k32BitSize || value == k48BitSize; in ImmShift64Valid()
|
H A D | aarch64_mop_split.h | 160 ImmOperand &immOpnd1 = opndBuilder->CreateImm(k16BitSize, newImm, false); in AddInsnSplit() 262 ImmOperand &immOpnd1 = opndBuilder->CreateImm(k16BitSize, newImm, false); in SubInsnSplit() 443 ImmOperand &src0 = opndBuilder->CreateImm(k16BitSize, static_cast<int64>(chunkVal0), false); in MOP_wmovri32Split() 447 uint64 chunkVal1 = (static_cast<uint64>(immVal) >> k16BitSize) & 0x0000FFFFULL; in MOP_wmovri32Split() 448 ImmOperand &src16 = opndBuilder->CreateImm(k16BitSize, static_cast<int64>(chunkVal1), false); in MOP_wmovri32Split() 449 BitShiftOperand *lslOpnd = &opndBuilder->CreateBitShift(BitShiftOperand::kLSL, static_cast<uint32>(k16BitSize), 6); in MOP_wmovri32Split() 478 for (int64 i = 0; i < maxLoopTime; ++i, sa += k16BitSize) { in MOP_xmovri64Split() 484 ImmOperand &src16 = opndBuilder->CreateImm(k16BitSize, static_cast<int64>(chunkVal), false); in MOP_xmovri64Split()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_memlayout.cpp | 247 auto coldsize = RoundUp(GetSizeOfSegCold(), k16BitSize); in GetSizeOfColdToStk() 267 auto coldsize = RoundUp(GetSizeOfSegCold(), k16BitSize); in StackFrameSize() 287 offset -= static_cast<uint32>(RoundUp(GetSizeOfSegCold(), k16BitSize)); in GetCalleeSaveBaseLoc()
|
H A D | aarch64_obj_emitter.cpp | 635 if (((static_cast<uint32>(immValue)) & (bitFieldValue << k16BitSize)) != 0) { 644 if (immValue & (bitFieldValue << (k16BitSize * hwFlag))) { 649 opnd |= ((static_cast<uint32>(immValue >> (hwFlag * k16BitSize))) << kShiftFive); 1124 CHECK_FATAL((shift == k0BitSize) || (regSize == k16BitSize && shift == k1BitSize) || 1180 if ((((size == k16BitSize) && (offsetValue % k2BitSize) != 0) || 1188 mopEncode = size == k16BitSize ? 0x7c400000 : (size == k32BitSize ? 0xbc400000 : 0xfc400000); 1190 mopEncode = size == k16BitSize ? 0x78400000 : (size == k32BitSize ? 0xb8400000 : 0xf8400000); 1194 mopEncode = size == k16BitSize ? 0x7c000000 : (size == k32BitSize ? 0xbc000000 : 0xfc000000); 1196 mopEncode = size == k16BitSize ? 0x78000000 : (size == k32BitSize ? 0xb8000000 : 0xf8000000);
|
H A D | aarch64_cgfunc.cpp | 192 DEBUG_ASSERT(((dsize == k8BitSize) || (dsize == k16BitSize) || (dsize == k32BitSize) || (dsize == k64BitSize)), in SelectCopyImm() 218 dsize = k16BitSize; in SelectCopyImm() 220 if (dsize == k16BitSize) { in SelectCopyImm() 224 DEBUG_ASSERT(((srcVal >> k16BitSize) & 0x0000FFFFULL) == 0, "unexpected value"); in SelectCopyImm() 227 ImmOperand &srcLower = CreateImmOperand(static_cast<int64>(srcVal & 0x0000FFFFULL), k16BitSize, false); in SelectCopyImm() 239 DEBUG_ASSERT(((srcVal >> k16BitSize) & 0x0000FFFFULL) != 0, "unexpected val"); in SelectCopyImm() 241 DEBUG_ASSERT(((srcVal >> k16BitSize) & 0x0000FFFFULL) != 0xFFFFULL, "unexpected val"); in SelectCopyImm() 243 ImmOperand &srcLower = CreateImmOperand(static_cast<int64>(srcVal & 0x0000FFFFULL), k16BitSize, false); in SelectCopyImm() 247 CreateImmOperand(static_cast<int64>((srcVal >> k16BitSize) & 0x0000FFFFULL), k16BitSize, fals in SelectCopyImm() [all...] |
H A D | aarch64_insn.cpp | 52 DEBUG_ASSERT((opndSize == k8BitSize || opndSize == k16BitSize || opndSize == k32BitSize || in Visit()
|
H A D | aarch64_proepilog.cpp | 503 offset -= static_cast<int32>(RoundUp(memLayout->GetSizeOfSegCold(), k16BitSize)); in GeneratePushRegs() 834 offset -= static_cast<int32>(RoundUp(memLayout->GetSizeOfSegCold(), k16BitSize)); in GeneratePopRegs()
|
H A D | aarch64_peep.cpp | 782 combineMemOpnd.SetSize(newMop == MOP_wstrh ? maplebe::k16BitSize : maplebe::k32BitSize); in GenerateMemPairInsn()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | operand.cpp | 34 return ((val & ((static_cast<uint64>(0xffff)) << k16BitSize)) == val || in IsMoveWidableImmediate() 44 for (uint64 i = 0; i < k4BitSize; ++i, sa += k16BitSize) { in BetterUseMOVZ()
|
H A D | standardize.cpp | 71 case k16BitSize: in AddressMapping()
|
H A D | cgfunc.cpp | 141 if (!CGOptions::IsBigEndian() && (bitSize == k8BitSize || bitSize == k16BitSize) && in HandleExtractBits() 143 (bitOffset == 0 || bitOffset == k8BitSize || bitOffset == k16BitSize || bitOffset == k24BitSize) && in HandleExtractBits()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/maple_ir/ |
H A D | mir_type_test.cpp | 42 size_t input_ls[] = {k1BitSize, k8BitSize, k16BitSize, k32BitSize, k64BitSize, static_cast<size_t>(2048U)}; in TEST()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_isa_tbl.h | 45 case k16BitSize: in GetCmpMop()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
H A D | common_utils.h | 46 constexpr uint32 k16BitSize = 16; member
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | isa.h | 521 case k16BitSize:
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_type.cpp | 75 case k16BitSize: { in GetIntegerPrimTypeBySizeAndSign()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_type.h | 58 constexpr uint32 k16BitSize = 16; member
|