mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
aco: consider 64-bit transcendental normal valu for s_delay_alu
https://github.com/llvm/llvm-project/pull/180940 Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39851>
This commit is contained in:
parent
89e42a01dd
commit
b60bff0429
1 changed files with 2 additions and 1 deletions
|
|
@ -227,7 +227,8 @@ gen_alu(Instruction* instr, delay_ctx& ctx)
|
|||
{
|
||||
Instruction_cycle_info cycle_info = get_cycle_info(*ctx.program, *instr);
|
||||
bool is_valu = instr->isVALU();
|
||||
bool is_trans = instr->isTrans();
|
||||
bool is_trans = instr->isTrans() && instr_info.classes[(int)instr->opcode] !=
|
||||
instr_class::valu_double_transcendental;
|
||||
|
||||
if (is_trans || is_valu || instr->isSALU()) {
|
||||
alu_delay_info delay;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue