[Mesa-dev] [PATCH 3/3] R600: Make Export Instruction not duplicable

Tom Stellard tom at stellard.net
Thu Apr 11 07:52:37 PDT 2013


On Wed, Apr 10, 2013 at 11:04:22PM +0200, Vincent Lejeune wrote:
> ---

Could you add a comment explaining why export instructions are not
duplicable.  With that change:

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

>  lib/Target/R600/R600Instructions.td | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td
> index 2e9a8a3..1c292bb 100644
> --- a/lib/Target/R600/R600Instructions.td
> +++ b/lib/Target/R600/R600Instructions.td
> @@ -738,7 +738,7 @@ multiclass SteamOutputExportPattern<Instruction ExportInst,
>        4095, imm:$mask, buf3inst, 0)>;
>  }
>  
> -let usesCustomInserter = 1 in {
> +let usesCustomInserter = 1, isNotDuplicable = 1 in {
>  
>  class ExportSwzInst : InstR600ISA<(
>      outs),
> -- 
> 1.8.1.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