[Mesa-dev] [PATCH 1/2] radeon/llvm: Match fexp2 for SI.
Tom Stellard
tom at stellard.net
Fri Sep 7 06:44:30 PDT 2012
On Fri, Sep 07, 2012 at 12:27:35PM +0200, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
For the series:
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
> ---
> src/gallium/drivers/radeon/SIInstructions.td | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td
> index 2868196..8f9de52 100644
> --- a/src/gallium/drivers/radeon/SIInstructions.td
> +++ b/src/gallium/drivers/radeon/SIInstructions.td
> @@ -529,7 +529,9 @@ defm V_TRUNC_F32 : VOP1_32 <0x00000021, "V_TRUNC_F32", []>;
> defm V_CEIL_F32 : VOP1_32 <0x00000022, "V_CEIL_F32", []>;
> defm V_RNDNE_F32 : VOP1_32 <0x00000023, "V_RNDNE_F32", []>;
> defm V_FLOOR_F32 : VOP1_32 <0x00000024, "V_FLOOR_F32", []>;
> -defm V_EXP_F32 : VOP1_32 <0x00000025, "V_EXP_F32", []>;
> +defm V_EXP_F32 : VOP1_32 <0x00000025, "V_EXP_F32",
> + [(set VReg_32:$dst, (fexp2 AllReg_32:$src0))]
> +>;
> defm V_LOG_CLAMP_F32 : VOP1_32 <0x00000026, "V_LOG_CLAMP_F32", []>;
> defm V_LOG_F32 : VOP1_32 <0x00000027, "V_LOG_F32", []>;
> defm V_RCP_CLAMP_F32 : VOP1_32 <0x00000028, "V_RCP_CLAMP_F32", []>;
> --
> 1.7.10.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list