freedreno/ir3: Add more cat1 float-immed cases

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31446>
This commit is contained in:
Rob Clark 2024-09-30 09:24:05 -07:00 committed by Marge Bot
parent 8ddfe9cfc8
commit 85d7826afa

View file

@ -358,6 +358,12 @@ static const struct test {
INSTR_6XX(50600004_2c090004, "(sy)mul.f hr1.x, hr1.x, h(1/log2(10))"),
INSTR_6XX(50600004_2c0a0004, "(sy)mul.f hr1.x, hr1.x, h(log2(10))"),
INSTR_6XX(50600004_2c0b0004, "(sy)mul.f hr1.x, hr1.x, h(4.0)"),
INSTR_6XX(20444000_00000000, "mov.f32f32 r0.x, (0.000000)"),
INSTR_6XX(20444000_3f000000, "mov.f32f32 r0.x, (0.500000)"),
INSTR_6XX(20444000_3f800000, "mov.f32f32 r0.x, (1.000000)"),
INSTR_6XX(20444000_40000000, "mov.f32f32 r0.x, (2.000000)"),
INSTR_6XX(20444000_40400000, "mov.f32f32 r0.x, (3.000000)"),
INSTR_6XX(20444000_40800000, "mov.f32f32 r0.x, (4.000000)"),
/* LDC. Our disasm differs greatly from qcom here, and we've got some
* important info they lack(?!), but same goes the other way.