[Mesa-dev] [PATCH] R600/SI: Add pattern for flog2.

Tom Stellard tom at stellard.net
Tue Feb 5 06:34:17 PST 2013


On Mon, Feb 04, 2013 at 04:04:25PM +0100, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
> 
> 22 more little piglits with radeonsi.
>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com> 
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
>  lib/Target/R600/SIInstructions.td |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td
> index 5d15761..dd5bb42 100644
> --- a/lib/Target/R600/SIInstructions.td
> +++ b/lib/Target/R600/SIInstructions.td
> @@ -615,7 +615,9 @@ 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_LOG_F32 : VOP1_32 <0x00000027, "V_LOG_F32",
> +  [(set VReg_32:$dst, (flog2 AllReg_32:$src0))]
> +>;
>  defm V_RCP_CLAMP_F32 : VOP1_32 <0x00000028, "V_RCP_CLAMP_F32", []>;
>  defm V_RCP_LEGACY_F32 : VOP1_32 <0x00000029, "V_RCP_LEGACY_F32", []>;
>  defm V_RCP_F32 : VOP1_32 <0x0000002a, "V_RCP_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