LLVM 20.0.0git
|
Go to the source code of this file.
Functions | |
static constexpr uint32_t | getModeRegisterRoundMode (uint32_t HWFP32Val, uint32_t HWFP64Val) |
Combine f32 and f64 rounding modes into a combined rounding mode value. | |
static constexpr uint64_t | encodeFltRoundsTable (uint32_t FltRoundsVal, uint32_t HWF32Val, uint32_t HWF64Val) |
static constexpr uint64_t | encodeFltRoundsTableSame (AMDGPUFltRounds FltRoundsMode, uint32_t HWVal) |
static constexpr AMDGPUFltRounds | decodeIndexFltRoundConversionTable (uint32_t HWMode) |
static constexpr uint64_t | encodeFltRoundsToHWTableSame (uint32_t HWVal, uint32_t FltRoundsVal) |
static constexpr uint64_t | encodeFltRoundsToHWTable (uint32_t HWF32Val, uint32_t HWF64Val, uint32_t FltRoundsVal) |
Decode FLT_ROUNDS into the hardware value where the two rounding modes different and use an extended value. | |
static constexpr uint32_t | decodeFltRoundToHWConversionTable (uint64_t FltRoundToHWConversionTable, uint32_t FltRounds) |
Read the hardware rounding mode equivalent of a AMDGPUFltRounds value. | |
static constexpr uint32_t | decodeFltRoundToHW (uint32_t FltRounds) |
Variables | |
static constexpr uint32_t | HWTowardZero = FP_ROUND_ROUND_TO_ZERO |
static constexpr uint32_t | HWNearestTiesToEven = FP_ROUND_ROUND_TO_NEAREST |
static constexpr uint32_t | HWTowardPositive = FP_ROUND_ROUND_TO_INF |
static constexpr uint32_t | HWTowardNegative = FP_ROUND_ROUND_TO_NEGINF |
Definition at line 252 of file SIModeRegisterDefaults.cpp.
References llvm::AMDGPU::FltRoundToHWConversionTable.
|
staticconstexpr |
Read the hardware rounding mode equivalent of a AMDGPUFltRounds value.
Definition at line 239 of file SIModeRegisterDefaults.cpp.
References llvm::AMDGPU::ExtendedFltRoundOffset, llvm::AMDGPU::FltRoundToHWConversionTable, and llvm::TowardNegative.
|
staticconstexpr |
Definition at line 74 of file SIModeRegisterDefaults.cpp.
References llvm::AMDGPU::ExtendedFltRoundOffset, llvm::AMDGPU::FltRoundConversionTable, and llvm::TowardNegative.
|
staticconstexpr |
Definition at line 54 of file SIModeRegisterDefaults.cpp.
References llvm::AMDGPU::ExtendedFltRoundOffset, getModeRegisterRoundMode(), and llvm::TowardNegative.
Referenced by encodeFltRoundsTableSame().
|
staticconstexpr |
Definition at line 68 of file SIModeRegisterDefaults.cpp.
References encodeFltRoundsTable().
|
staticconstexpr |
Decode FLT_ROUNDS into the hardware value where the two rounding modes different and use an extended value.
Definition at line 191 of file SIModeRegisterDefaults.cpp.
References llvm::AMDGPU::ExtendedFltRoundOffset, getModeRegisterRoundMode(), and llvm::TowardNegative.
|
staticconstexpr |
Definition at line 180 of file SIModeRegisterDefaults.cpp.
References llvm::AMDGPU::ExtendedFltRoundOffset, getModeRegisterRoundMode(), and llvm::TowardNegative.
|
staticconstexpr |
Combine f32 and f64 rounding modes into a combined rounding mode value.
Definition at line 49 of file SIModeRegisterDefaults.cpp.
References llvm::AMDGPU::F32FltRoundOffset, and llvm::AMDGPU::F64FltRoundOffset.
Referenced by encodeFltRoundsTable(), encodeFltRoundsToHWTable(), and encodeFltRoundsToHWTableSame().
|
staticconstexpr |
Definition at line 82 of file SIModeRegisterDefaults.cpp.
|
staticconstexpr |
Definition at line 84 of file SIModeRegisterDefaults.cpp.
|
staticconstexpr |
Definition at line 83 of file SIModeRegisterDefaults.cpp.
|
staticconstexpr |
Definition at line 81 of file SIModeRegisterDefaults.cpp.