LLVM 19.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) |
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 |
|
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 |
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().
|
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.