[Mesa-dev] [PATCH 4/4] i965: Rename intel_asm_annotation -> brw_disasm_info

Samuel Iglesias Gonsálvez siglesias at igalia.com
Fri Nov 17 09:20:32 UTC 2017


Patches 1, 2 and 4 are:

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

Sam

On Thu, 2017-11-16 at 20:47 -0800, Matt Turner wrote:
> It was the only file named intel_* in the compiler.
> ---
>  src/intel/Makefile.sources                                       | 6
> +++---
>  src/intel/compiler/{intel_asm_annotation.c => brw_disasm_info.c} | 2
> +-
>  src/intel/compiler/{intel_asm_annotation.h => brw_disasm_info.h} | 0
>  src/intel/compiler/brw_eu.h                                      | 2
> +-
>  src/intel/compiler/brw_eu_compact.c                              | 2
> +-
>  src/intel/compiler/meson.build                                   | 4
> ++--
>  6 files changed, 8 insertions(+), 8 deletions(-)
>  rename src/intel/compiler/{intel_asm_annotation.c =>
> brw_disasm_info.c} (99%)
>  rename src/intel/compiler/{intel_asm_annotation.h =>
> brw_disasm_info.h} (100%)
> 
> diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources
> index 5a09e6d916..cdb10ece35 100644
> --- a/src/intel/Makefile.sources
> +++ b/src/intel/Makefile.sources
> @@ -38,6 +38,8 @@ COMPILER_FILES = \
>  	compiler/brw_dead_control_flow.cpp \
>  	compiler/brw_dead_control_flow.h \
>  	compiler/brw_disasm.c \
> +	compiler/brw_disasm_info.c \
> +	compiler/brw_disasm_info.h \
>  	compiler/brw_eu.c \
>  	compiler/brw_eu_compact.c \
>  	compiler/brw_eu_defines.h \
> @@ -115,9 +117,7 @@ COMPILER_FILES = \
>  	compiler/brw_vue_map.c \
>  	compiler/brw_wm_iz.cpp \
>  	compiler/gen6_gs_visitor.cpp \
> -	compiler/gen6_gs_visitor.h \
> -	compiler/intel_asm_annotation.c \
> -	compiler/intel_asm_annotation.h
> +	compiler/gen6_gs_visitor.h
>  
>  COMPILER_GENERATED_FILES = \
>  	compiler/brw_nir_trig_workarounds.c
> diff --git a/src/intel/compiler/intel_asm_annotation.c
> b/src/intel/compiler/brw_disasm_info.c
> similarity index 99%
> rename from src/intel/compiler/intel_asm_annotation.c
> rename to src/intel/compiler/brw_disasm_info.c
> index fa37f248d1..9d3962b94d 100644
> --- a/src/intel/compiler/intel_asm_annotation.c
> +++ b/src/intel/compiler/brw_disasm_info.c
> @@ -23,8 +23,8 @@
>  
>  #include "brw_cfg.h"
>  #include "brw_eu.h"
> +#include "brw_disasm_info.h"
>  #include "common/gen_debug.h"
> -#include "intel_asm_annotation.h"
>  #include "compiler/nir/nir.h"
>  
>  __attribute__((weak)) void nir_print_instr(const nir_instr *instr,
> FILE *fp) {}
> diff --git a/src/intel/compiler/intel_asm_annotation.h
> b/src/intel/compiler/brw_disasm_info.h
> similarity index 100%
> rename from src/intel/compiler/intel_asm_annotation.h
> rename to src/intel/compiler/brw_disasm_info.h
> diff --git a/src/intel/compiler/brw_eu.h
> b/src/intel/compiler/brw_eu.h
> index d66988da56..b5a206b3f1 100644
> --- a/src/intel/compiler/brw_eu.h
> +++ b/src/intel/compiler/brw_eu.h
> @@ -37,7 +37,7 @@
>  #include "brw_inst.h"
>  #include "brw_eu_defines.h"
>  #include "brw_reg.h"
> -#include "intel_asm_annotation.h"
> +#include "brw_disasm_info.h"
>  
>  #ifdef __cplusplus
>  extern "C" {
> diff --git a/src/intel/compiler/brw_eu_compact.c
> b/src/intel/compiler/brw_eu_compact.c
> index 3a3875356d..3680adc801 100644
> --- a/src/intel/compiler/brw_eu_compact.c
> +++ b/src/intel/compiler/brw_eu_compact.c
> @@ -74,7 +74,7 @@
>  
>  #include "brw_eu.h"
>  #include "brw_shader.h"
> -#include "intel_asm_annotation.h"
> +#include "brw_disasm_info.h"
>  #include "common/gen_debug.h"
>  
>  static const uint32_t g45_control_index_table[32] = {
> diff --git a/src/intel/compiler/meson.build
> b/src/intel/compiler/meson.build
> index d6fb8f4a64..fe0a1f6e8a 100644
> --- a/src/intel/compiler/meson.build
> +++ b/src/intel/compiler/meson.build
> @@ -34,6 +34,8 @@ libintel_compiler_files = files(
>    'brw_dead_control_flow.cpp',
>    'brw_dead_control_flow.h',
>    'brw_disasm.c',
> +  'brw_disasm_info.c',
> +  'brw_disasm_info.h',
>    'brw_eu.c',
>    'brw_eu_compact.c',
>    'brw_eu_defines.h',
> @@ -112,8 +114,6 @@ libintel_compiler_files = files(
>    'brw_wm_iz.cpp',
>    'gen6_gs_visitor.cpp',
>    'gen6_gs_visitor.h',
> -  'intel_asm_annotation.c',
> -  'intel_asm_annotation.h',
>  )
>  
>  brw_nir_trig = custom_target(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171117/81a1bd12/attachment.sig>


More information about the mesa-dev mailing list