Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/MesaLib/src Update generated files to match 2...



details:   https://anonhg.NetBSD.org/xsrc/rev/ae37c4265695
branches:  trunk
changeset: 7578:ae37c4265695
user:      rjs <rjs%NetBSD.org@localhost>
date:      Sun Jul 16 21:41:49 2023 +0000

description:
Update generated files to match 21.3.7.

Created using a dummy pkg.

diffstat:

 external/mit/MesaLib/src/amd/common/amdgfxregs.h                          |    17914 +
 external/mit/MesaLib/src/amd/common/gfx10_format_table.c                  |      420 +
 external/mit/MesaLib/src/amd/common/sid_tables.h                          |    32574 +-
 external/mit/MesaLib/src/compiler/glsl/float64_glsl.h                     |     4413 +-
 external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-lex.c                  |      638 +-
 external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-parse.c                |     2546 +-
 external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-parse.h                |       97 +-
 external/mit/MesaLib/src/compiler/glsl/glsl_lexer.cpp                     |     2898 +-
 external/mit/MesaLib/src/compiler/glsl/glsl_parser.cpp                    |     5929 +-
 external/mit/MesaLib/src/compiler/glsl/glsl_parser.h                      |      295 +-
 external/mit/MesaLib/src/compiler/glsl/ir_expression_operation_constant.h |      296 +-
 external/mit/MesaLib/src/compiler/glsl/ir_expression_operation_strings.h  |       40 +-
 external/mit/MesaLib/src/compiler/ir_expression_operation.h               |       22 +-
 external/mit/MesaLib/src/compiler/nir/nir_builder_opcodes.h               |    13074 +-
 external/mit/MesaLib/src/compiler/nir/nir_constant_expressions.c          |    46303 +-
 external/mit/MesaLib/src/compiler/nir/nir_intrinsics.c                    |     5281 +-
 external/mit/MesaLib/src/compiler/nir/nir_intrinsics.h                    |      300 +-
 external/mit/MesaLib/src/compiler/nir/nir_intrinsics_indices.h            |      945 +
 external/mit/MesaLib/src/compiler/nir/nir_opcodes.c                       |     3547 +-
 external/mit/MesaLib/src/compiler/nir/nir_opcodes.h                       |      241 +-
 external/mit/MesaLib/src/compiler/nir/nir_opt_algebraic.c                 |  1104129 ++++++++-
 external/mit/MesaLib/src/compiler/spirv/spirv_info.c                      |      505 +-
 external/mit/MesaLib/src/compiler/spirv/vtn_gather_types.c                |      243 +-
 external/mit/MesaLib/src/compiler/spirv/vtn_generator_ids.h               |       50 +
 external/mit/MesaLib/src/gallium/auxiliary/u_format_table.c               |    52569 -
 external/mit/MesaLib/src/gallium/auxiliary/u_indices_gen.c                |    14952 +-
 external/mit/MesaLib/src/gallium/auxiliary/u_tracepoints.c                |      128 +
 external/mit/MesaLib/src/gallium/auxiliary/u_tracepoints.h                |      109 +
 external/mit/MesaLib/src/gallium/drivers/lima/lima_nir_algebraic.c        |      286 +
 external/mit/MesaLib/src/gallium/frontends/xa/xa_tracker.h                |      217 +
 external/mit/MesaLib/src/git_sha1.h                                       |        1 +
 external/mit/MesaLib/src/intel/brw_nir_trig_workarounds.c                 |      268 -
 external/mit/MesaLib/src/intel/compiler/brw_nir_trig_workarounds.c        |      168 +
 external/mit/MesaLib/src/intel/genxml/gen11_pack.h                        |     4554 +-
 external/mit/MesaLib/src/intel/genxml/gen125_pack.h                       |    12529 +
 external/mit/MesaLib/src/intel/genxml/gen12_pack.h                        |    12774 +
 external/mit/MesaLib/src/intel/genxml/gen45_pack.h                        |      990 +-
 external/mit/MesaLib/src/intel/genxml/gen4_pack.h                         |      976 +-
 external/mit/MesaLib/src/intel/genxml/gen5_pack.h                         |      967 +-
 external/mit/MesaLib/src/intel/genxml/gen6_pack.h                         |     1534 +-
 external/mit/MesaLib/src/intel/genxml/gen75_pack.h                        |     3159 +-
 external/mit/MesaLib/src/intel/genxml/gen7_pack.h                         |     2612 +-
 external/mit/MesaLib/src/intel/genxml/gen8_pack.h                         |     3173 +-
 external/mit/MesaLib/src/intel/genxml/gen9_pack.h                         |     3638 +-
 external/mit/MesaLib/src/intel/genxml/genX_bits.h                         |   413587 +-
 external/mit/MesaLib/src/intel/genxml/genX_xml.h                          |    54327 +-
 external/mit/MesaLib/src/intel/genxml/gen_rt_pack.h                       |      846 +
 external/mit/MesaLib/src/intel/isl/isl_format_layout.c                    |     6442 +
 external/mit/MesaLib/src/intel/isl_format_layout.c                        |     5677 -
 external/mit/MesaLib/src/intel/perf/gen_perf_metrics.c                    |   157439 -
 external/mit/MesaLib/src/intel/perf/gen_perf_metrics.h                    |       42 -
 external/mit/MesaLib/src/intel/perf/intel_perf_metrics.c                  |   254350 ++
 external/mit/MesaLib/src/intel/perf/intel_perf_metrics.h                  |       47 +
 external/mit/MesaLib/src/mapi/es1api/glapi_mapi_tmp.h                     |     1624 +
 external/mit/MesaLib/src/mapi/es2api/glapi_mapi_tmp.h                     |     3967 +
 external/mit/MesaLib/src/mapi/glapi/api_exec.c                            |     1697 -
 external/mit/MesaLib/src/mapi/glapi/enums.c                               |     7450 -
 external/mit/MesaLib/src/mapi/glapi/gen/api_exec.c                        |     1703 +
 external/mit/MesaLib/src/mapi/glapi/gen/enums.c                           |     7710 +
 external/mit/MesaLib/src/mapi/glapi/gen/glapi_mapi_tmp.h                  |    14282 +
 external/mit/MesaLib/src/mapi/glapi/gen/indirect.c                        |     8973 +
 external/mit/MesaLib/src/mapi/glapi/gen/indirect.h                        |      724 +
 external/mit/MesaLib/src/mapi/glapi/gen/indirect_init.c                   |     1215 +
 external/mit/MesaLib/src/mapi/glapi/gen/indirect_size.c                   |      367 +
 external/mit/MesaLib/src/mapi/glapi/gen/indirect_size.h                   |       83 +
 external/mit/MesaLib/src/mapi/glapi/gen/marshal_generated0.c              |     4593 +
 external/mit/MesaLib/src/mapi/glapi/gen/marshal_generated1.c              |     7718 +
 external/mit/MesaLib/src/mapi/glapi/gen/marshal_generated2.c              |     7069 +
 external/mit/MesaLib/src/mapi/glapi/gen/marshal_generated3.c              |     7136 +
 external/mit/MesaLib/src/mapi/glapi/gen/marshal_generated4.c              |     7937 +
 external/mit/MesaLib/src/mapi/glapi/gen/marshal_generated5.c              |     2565 +
 external/mit/MesaLib/src/mapi/glapi/gen/marshal_generated6.c              |     7327 +
 external/mit/MesaLib/src/mapi/glapi/gen/marshal_generated7.c              |     7478 +
 external/mit/MesaLib/src/mapi/glapi/glapi_mapi_tmp.h                      |    14283 -
 external/mit/MesaLib/src/mapi/glapi/indirect.c                            |     9003 -
 external/mit/MesaLib/src/mapi/glapi/indirect.h                            |      724 -
 external/mit/MesaLib/src/mapi/glapi/indirect_init.c                       |     1215 -
 external/mit/MesaLib/src/mapi/glapi/indirect_size.c                       |      367 -
 external/mit/MesaLib/src/mapi/glapi/indirect_size.h                       |       83 -
 external/mit/MesaLib/src/mapi/glapi/marshal_generated.c                   |    45605 -
 external/mit/MesaLib/src/mapi/shared-glapi/glapi_mapi_tmp.h               |    40082 +
 external/mit/MesaLib/src/mapi/shared-glapi_glapi_mapi_tmp.h               |    34609 -
 external/mit/MesaLib/src/mesa/format_fallback.c                           |      387 +
 external/mit/MesaLib/src/mesa/format_info.h                               |     1422 +-
 external/mit/MesaLib/src/mesa/get_hash.h                                  |     1502 +-
 external/mit/MesaLib/src/mesa/main/Makefile                               |       21 -
 external/mit/MesaLib/src/mesa/main/dispatch.h                             |     3084 +-
 external/mit/MesaLib/src/mesa/main/format_fallback.c                      |      352 -
 external/mit/MesaLib/src/mesa/main/format_pack.c                          |    11288 -
 external/mit/MesaLib/src/mesa/main/format_unpack.c                        |     7654 -
 external/mit/MesaLib/src/mesa/main/git_sha1.h                             |        1 -
 external/mit/MesaLib/src/mesa/main/marshal_generated.h                    |     4612 +-
 external/mit/MesaLib/src/mesa/main/remap_helper.h                         |     4903 +-
 external/mit/MesaLib/src/mesa/matypes.h                                   |      157 -
 external/mit/MesaLib/src/mesa/program/Makefile                            |       14 -
 external/mit/MesaLib/src/mesa/program/lex.yy.c                            |     3698 +
 external/mit/MesaLib/src/mesa/program/program_parse.tab.c                 |     4632 +-
 external/mit/MesaLib/src/mesa/program/program_parse.tab.h                 |      242 +-
 external/mit/MesaLib/src/panfrost/bifrost/bi_builder.h                    |     6808 +
 external/mit/MesaLib/src/panfrost/bifrost/bi_opcodes.c                    |     2031 +
 external/mit/MesaLib/src/panfrost/bifrost/bi_opcodes.h                    |      689 +
 external/mit/MesaLib/src/panfrost/bifrost/bi_packer.c                     |     6357 +
 external/mit/MesaLib/src/panfrost/bifrost/bi_printer.c                    |     4769 +
 external/mit/MesaLib/src/panfrost/bifrost/bifrost_gen_disasm.c            |    11524 +
 external/mit/MesaLib/src/panfrost/bifrost/bifrost_nir_algebraic.c         |      442 +
 external/mit/MesaLib/src/panfrost/lib/genxml/common_pack.h                |      481 +
 external/mit/MesaLib/src/panfrost/lib/genxml/v4_pack.h                    |     4171 +
 external/mit/MesaLib/src/panfrost/lib/genxml/v5_pack.h                    |     4616 +
 external/mit/MesaLib/src/panfrost/lib/genxml/v6_pack.h                    |     5696 +
 external/mit/MesaLib/src/panfrost/lib/genxml/v7_pack.h                    |     5752 +
 external/mit/MesaLib/src/panfrost/midgard/midgard_nir_algebraic.c         |     3322 +
 external/mit/MesaLib/src/panfrost/perf/pan_perf_metrics.c                 |    15604 +
 external/mit/MesaLib/src/panfrost/perf/pan_perf_metrics.h                 |       48 +
 external/mit/MesaLib/src/util/Makefile                                    |        9 -
 external/mit/MesaLib/src/util/driconf_static.h                            |     2250 +
 external/mit/MesaLib/src/util/format/u_format_pack.h                      |     1324 +
 external/mit/MesaLib/src/util/format/u_format_table.c                     |    52079 +
 external/mit/MesaLib/src/util/format_srgb.c                               |      128 +-
 external/mit/MesaLib/src/util/xmlpool/options.h                           |      367 -
 119 files changed, 1893645 insertions(+), 777441 deletions(-)

diffs (truncated from 2759424 to 300 lines):

diff -r fd42700c7be0 -r ae37c4265695 external/mit/MesaLib/src/amd/common/amdgfxregs.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/MesaLib/src/amd/common/amdgfxregs.h  Sun Jul 16 21:41:49 2023 +0000
@@ -0,0 +1,17914 @@
+/* Automatically generated by amd/registers/makeregheader.py */
+
+
+/*
+ * Copyright 2015-2019 Advanced Micro Devices, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * on the rights to use, copy, modify, merge, publish, distribute, sub
+ * license, and/or sell copies of the Software, and to permit persons to whom
+ * the Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHOR(S) AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM,
+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+ * USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ */
+
+#ifndef AMDGFXREGS_H
+#define AMDGFXREGS_H
+
+#define R_000028_SQ_WAVE_ACTIVE                                         0x000028 /* >= gfx103 */
+#define   S_000028_WAVE_SLOT(x)                                       (((unsigned)(x) & 0xFFFFF) << 0)
+#define   G_000028_WAVE_SLOT(x)                                       (((x) >> 0) & 0xFFFFF)
+#define   C_000028_WAVE_SLOT                                          0xFFF00000
+#define R_00002C_SQ_WAVE_VALID_AND_IDLE                                 0x00002C /* >= gfx103 */
+#define   S_00002C_WAVE_SLOT(x)                                       (((unsigned)(x) & 0xFFFFF) << 0)
+#define   G_00002C_WAVE_SLOT(x)                                       (((x) >> 0) & 0xFFFFF)
+#define   C_00002C_WAVE_SLOT                                          0xFFF00000
+#define R_000044_SQ_WAVE_MODE                                           0x000044 /* <= gfx9 */
+#define   S_000044_FP_ROUND(x)                                        (((unsigned)(x) & 0xF) << 0)
+#define   G_000044_FP_ROUND(x)                                        (((x) >> 0) & 0xF)
+#define   C_000044_FP_ROUND                                           0xFFFFFFF0
+#define   S_000044_FP_DENORM(x)                                       (((unsigned)(x) & 0xF) << 4)
+#define   G_000044_FP_DENORM(x)                                       (((x) >> 4) & 0xF)
+#define   C_000044_FP_DENORM                                          0xFFFFFF0F
+#define   S_000044_DX10_CLAMP(x)                                      (((unsigned)(x) & 0x1) << 8)
+#define   G_000044_DX10_CLAMP(x)                                      (((x) >> 8) & 0x1)
+#define   C_000044_DX10_CLAMP                                         0xFFFFFEFF
+#define   S_000044_IEEE(x)                                            (((unsigned)(x) & 0x1) << 9)
+#define   G_000044_IEEE(x)                                            (((x) >> 9) & 0x1)
+#define   C_000044_IEEE                                               0xFFFFFDFF
+#define   S_000044_LOD_CLAMPED(x)                                     (((unsigned)(x) & 0x1) << 10)
+#define   G_000044_LOD_CLAMPED(x)                                     (((x) >> 10) & 0x1)
+#define   C_000044_LOD_CLAMPED                                        0xFFFFFBFF
+#define   S_000044_DEBUG_EN(x)                                        (((unsigned)(x) & 0x1) << 11)
+#define   G_000044_DEBUG_EN(x)                                        (((x) >> 11) & 0x1)
+#define   C_000044_DEBUG_EN                                           0xFFFFF7FF
+#define   S_000044_EXCP_EN(x)                                         (((unsigned)(x) & 0x1FF) << 12)
+#define   G_000044_EXCP_EN(x)                                         (((x) >> 12) & 0x1FF)
+#define   C_000044_EXCP_EN                                            0xFFE00FFF
+#define     V_000044_INVALID                                        1
+#define     V_000044_INPUT_DENORMAL                                 2
+#define     V_000044_DIVIDE_BY_ZERO                                 4
+#define     V_000044_OVERFLOW                                       8
+#define     V_000044_UNDERFLOW                                      16
+#define     V_000044_INEXACT                                        32
+#define     V_000044_INT_DIVIDE_BY_ZERO                             64
+#define     V_000044_ADDRESS_WATCH                                  128
+#define     V_000044_MEMORY_VIOLATION                               256
+#define   S_000044_FP16_OVFL(x)                                       (((unsigned)(x) & 0x1) << 23) /* gfx9 */
+#define   G_000044_FP16_OVFL(x)                                       (((x) >> 23) & 0x1)
+#define   C_000044_FP16_OVFL                                          0xFF7FFFFF
+#define   S_000044_POPS_PACKER0(x)                                    (((unsigned)(x) & 0x1) << 24) /* gfx9 */
+#define   G_000044_POPS_PACKER0(x)                                    (((x) >> 24) & 0x1)
+#define   C_000044_POPS_PACKER0                                       0xFEFFFFFF
+#define   S_000044_POPS_PACKER1(x)                                    (((unsigned)(x) & 0x1) << 25) /* gfx9 */
+#define   G_000044_POPS_PACKER1(x)                                    (((x) >> 25) & 0x1)
+#define   C_000044_POPS_PACKER1                                       0xFDFFFFFF
+#define   S_000044_DISABLE_PERF(x)                                    (((unsigned)(x) & 0x1) << 26) /* gfx9 */
+#define   G_000044_DISABLE_PERF(x)                                    (((x) >> 26) & 0x1)
+#define   C_000044_DISABLE_PERF                                       0xFBFFFFFF
+#define   S_000044_GPR_IDX_EN(x)                                      (((unsigned)(x) & 0x1) << 27) /* gfx8, gfx81, gfx9 */
+#define   G_000044_GPR_IDX_EN(x)                                      (((x) >> 27) & 0x1)
+#define   C_000044_GPR_IDX_EN                                         0xF7FFFFFF
+#define   S_000044_VSKIP(x)                                           (((unsigned)(x) & 0x1) << 28)
+#define   G_000044_VSKIP(x)                                           (((x) >> 28) & 0x1)
+#define   C_000044_VSKIP                                              0xEFFFFFFF
+#define   S_000044_CSP(x)                                             (((unsigned)(x) & 0x7) << 29)
+#define   G_000044_CSP(x)                                             (((x) >> 29) & 0x7)
+#define   C_000044_CSP                                                0x1FFFFFFF
+#define R_000048_SQ_WAVE_STATUS                                         0x000048 /* <= gfx9 */
+#define   S_000048_SCC(x)                                             (((unsigned)(x) & 0x1) << 0)
+#define   G_000048_SCC(x)                                             (((x) >> 0) & 0x1)
+#define   C_000048_SCC                                                0xFFFFFFFE
+#define   S_000048_SPI_PRIO(x)                                        (((unsigned)(x) & 0x3) << 1)
+#define   G_000048_SPI_PRIO(x)                                        (((x) >> 1) & 0x3)
+#define   C_000048_SPI_PRIO                                           0xFFFFFFF9
+#define   S_000048_USER_PRIO(x)                                       (((unsigned)(x) & 0x3) << 3) /* gfx8, gfx81, gfx9 */
+#define   G_000048_USER_PRIO(x)                                       (((x) >> 3) & 0x3)
+#define   C_000048_USER_PRIO                                          0xFFFFFFE7
+#define   S_000048_WAVE_PRIO(x)                                       (((unsigned)(x) & 0x3) << 3) /* <= gfx7 */
+#define   G_000048_WAVE_PRIO(x)                                       (((x) >> 3) & 0x3)
+#define   C_000048_WAVE_PRIO                                          0xFFFFFFE7
+#define   S_000048_PRIV(x)                                            (((unsigned)(x) & 0x1) << 5)
+#define   G_000048_PRIV(x)                                            (((x) >> 5) & 0x1)
+#define   C_000048_PRIV                                               0xFFFFFFDF
+#define   S_000048_TRAP_EN(x)                                         (((unsigned)(x) & 0x1) << 6)
+#define   G_000048_TRAP_EN(x)                                         (((x) >> 6) & 0x1)
+#define   C_000048_TRAP_EN                                            0xFFFFFFBF
+#define   S_000048_TTRACE_EN(x)                                       (((unsigned)(x) & 0x1) << 7)
+#define   G_000048_TTRACE_EN(x)                                       (((x) >> 7) & 0x1)
+#define   C_000048_TTRACE_EN                                          0xFFFFFF7F
+#define   S_000048_EXPORT_RDY(x)                                      (((unsigned)(x) & 0x1) << 8)
+#define   G_000048_EXPORT_RDY(x)                                      (((x) >> 8) & 0x1)
+#define   C_000048_EXPORT_RDY                                         0xFFFFFEFF
+#define   S_000048_EXECZ(x)                                           (((unsigned)(x) & 0x1) << 9)
+#define   G_000048_EXECZ(x)                                           (((x) >> 9) & 0x1)
+#define   C_000048_EXECZ                                              0xFFFFFDFF
+#define   S_000048_VCCZ(x)                                            (((unsigned)(x) & 0x1) << 10)
+#define   G_000048_VCCZ(x)                                            (((x) >> 10) & 0x1)
+#define   C_000048_VCCZ                                               0xFFFFFBFF
+#define   S_000048_IN_TG(x)                                           (((unsigned)(x) & 0x1) << 11)
+#define   G_000048_IN_TG(x)                                           (((x) >> 11) & 0x1)
+#define   C_000048_IN_TG                                              0xFFFFF7FF
+#define   S_000048_IN_BARRIER(x)                                      (((unsigned)(x) & 0x1) << 12)
+#define   G_000048_IN_BARRIER(x)                                      (((x) >> 12) & 0x1)
+#define   C_000048_IN_BARRIER                                         0xFFFFEFFF
+#define   S_000048_HALT(x)                                            (((unsigned)(x) & 0x1) << 13)
+#define   G_000048_HALT(x)                                            (((x) >> 13) & 0x1)
+#define   C_000048_HALT                                               0xFFFFDFFF
+#define   S_000048_TRAP(x)                                            (((unsigned)(x) & 0x1) << 14)
+#define   G_000048_TRAP(x)                                            (((x) >> 14) & 0x1)
+#define   C_000048_TRAP                                               0xFFFFBFFF
+#define   S_000048_TTRACE_CU_EN(x)                                    (((unsigned)(x) & 0x1) << 15)
+#define   G_000048_TTRACE_CU_EN(x)                                    (((x) >> 15) & 0x1)
+#define   C_000048_TTRACE_CU_EN                                       0xFFFF7FFF
+#define   S_000048_VALID(x)                                           (((unsigned)(x) & 0x1) << 16)
+#define   G_000048_VALID(x)                                           (((x) >> 16) & 0x1)
+#define   C_000048_VALID                                              0xFFFEFFFF
+#define   S_000048_ECC_ERR(x)                                         (((unsigned)(x) & 0x1) << 17)
+#define   G_000048_ECC_ERR(x)                                         (((x) >> 17) & 0x1)
+#define   C_000048_ECC_ERR                                            0xFFFDFFFF
+#define   S_000048_SKIP_EXPORT(x)                                     (((unsigned)(x) & 0x1) << 18)
+#define   G_000048_SKIP_EXPORT(x)                                     (((x) >> 18) & 0x1)
+#define   C_000048_SKIP_EXPORT                                        0xFFFBFFFF
+#define   S_000048_PERF_EN(x)                                         (((unsigned)(x) & 0x1) << 19)
+#define   G_000048_PERF_EN(x)                                         (((x) >> 19) & 0x1)
+#define   C_000048_PERF_EN                                            0xFFF7FFFF
+#define   S_000048_COND_DBG_USER(x)                                   (((unsigned)(x) & 0x1) << 20)
+#define   G_000048_COND_DBG_USER(x)                                   (((x) >> 20) & 0x1)
+#define   C_000048_COND_DBG_USER                                      0xFFEFFFFF
+#define   S_000048_COND_DBG_SYS(x)                                    (((unsigned)(x) & 0x1) << 21)
+#define   G_000048_COND_DBG_SYS(x)                                    (((x) >> 21) & 0x1)
+#define   C_000048_COND_DBG_SYS                                       0xFFDFFFFF
+#define   S_000048_ALLOW_REPLAY(x)                                    (((unsigned)(x) & 0x1) << 22) /* gfx8, gfx81, gfx9 */
+#define   G_000048_ALLOW_REPLAY(x)                                    (((x) >> 22) & 0x1)
+#define   C_000048_ALLOW_REPLAY                                       0xFFBFFFFF
+#define   S_000048_DATA_ATC(x)                                        (((unsigned)(x) & 0x1) << 22) /* <= gfx7 */
+#define   G_000048_DATA_ATC(x)                                        (((x) >> 22) & 0x1)
+#define   C_000048_DATA_ATC                                           0xFFBFFFFF
+#define   S_000048_FATAL_HALT(x)                                      (((unsigned)(x) & 0x1) << 23) /* gfx9 */
+#define   G_000048_FATAL_HALT(x)                                      (((x) >> 23) & 0x1)
+#define   C_000048_FATAL_HALT                                         0xFF7FFFFF
+#define   S_000048_INST_ATC(x)                                        (((unsigned)(x) & 0x1) << 23) /* <= gfx81 */
+#define   G_000048_INST_ATC(x)                                        (((x) >> 23) & 0x1)
+#define   C_000048_INST_ATC                                           0xFF7FFFFF
+#define   S_000048_DISPATCH_CACHE_CTRL(x)                             (((unsigned)(x) & 0x7) << 24) /* <= gfx7 */
+#define   G_000048_DISPATCH_CACHE_CTRL(x)                             (((x) >> 24) & 0x7)
+#define   C_000048_DISPATCH_CACHE_CTRL                                0xF8FFFFFF
+#define   S_000048_MUST_EXPORT(x)                                     (((unsigned)(x) & 0x1) << 27)
+#define   G_000048_MUST_EXPORT(x)                                     (((x) >> 27) & 0x1)
+#define   C_000048_MUST_EXPORT                                        0xF7FFFFFF
+#define R_00004C_SQ_WAVE_TRAPSTS                                        0x00004C /* <= gfx9 */
+#define   S_00004C_EXCP(x)                                            (((unsigned)(x) & 0x1FF) << 0)
+#define   G_00004C_EXCP(x)                                            (((x) >> 0) & 0x1FF)
+#define   C_00004C_EXCP                                               0xFFFFFE00
+#define     V_00004C_INVALID                                        1
+#define     V_00004C_INPUT_DENORMAL                                 2
+#define     V_00004C_DIVIDE_BY_ZERO                                 4
+#define     V_00004C_OVERFLOW                                       8
+#define     V_00004C_UNDERFLOW                                      16
+#define     V_00004C_INEXACT                                        32
+#define     V_00004C_INT_DIVIDE_BY_ZERO                             64
+#define     V_00004C_ADDRESS_WATCH                                  128
+#define     V_00004C_MEMORY_VIOLATION                               256
+#define   S_00004C_SAVECTX(x)                                         (((unsigned)(x) & 0x1) << 10) /* gfx8, gfx81, gfx9 */
+#define   G_00004C_SAVECTX(x)                                         (((x) >> 10) & 0x1)
+#define   C_00004C_SAVECTX                                            0xFFFFFBFF
+#define   S_00004C_ILLEGAL_INST(x)                                    (((unsigned)(x) & 0x1) << 11) /* gfx9 */
+#define   G_00004C_ILLEGAL_INST(x)                                    (((x) >> 11) & 0x1)
+#define   C_00004C_ILLEGAL_INST                                       0xFFFFF7FF
+#define   S_00004C_EXCP_HI(x)                                         (((unsigned)(x) & 0x7) << 12) /* gfx9 */
+#define   G_00004C_EXCP_HI(x)                                         (((x) >> 12) & 0x7)
+#define   C_00004C_EXCP_HI                                            0xFFFF8FFF
+#define   S_00004C_EXCP_CYCLE(x)                                      (((unsigned)(x) & 0x3F) << 16)
+#define   G_00004C_EXCP_CYCLE(x)                                      (((x) >> 16) & 0x3F)
+#define   C_00004C_EXCP_CYCLE                                         0xFFC0FFFF
+#define   S_00004C_XNACK_ERROR(x)                                     (((unsigned)(x) & 0x1) << 28) /* gfx9 */
+#define   G_00004C_XNACK_ERROR(x)                                     (((x) >> 28) & 0x1)
+#define   C_00004C_XNACK_ERROR                                        0xEFFFFFFF
+#define   S_00004C_DP_RATE(x)                                         (((unsigned)(x) & 0x7) << 29)
+#define   G_00004C_DP_RATE(x)                                         (((x) >> 29) & 0x7)
+#define   C_00004C_DP_RATE                                            0x1FFFFFFF
+#define R_000050_SQ_WAVE_HW_ID                                          0x000050 /* <= gfx9 */
+#define   S_000050_WAVE_ID(x)                                         (((unsigned)(x) & 0xF) << 0)
+#define   G_000050_WAVE_ID(x)                                         (((x) >> 0) & 0xF)
+#define   C_000050_WAVE_ID                                            0xFFFFFFF0
+#define   S_000050_SIMD_ID(x)                                         (((unsigned)(x) & 0x3) << 4)
+#define   G_000050_SIMD_ID(x)                                         (((x) >> 4) & 0x3)
+#define   C_000050_SIMD_ID                                            0xFFFFFFCF
+#define   S_000050_PIPE_ID(x)                                         (((unsigned)(x) & 0x3) << 6)
+#define   G_000050_PIPE_ID(x)                                         (((x) >> 6) & 0x3)
+#define   C_000050_PIPE_ID                                            0xFFFFFF3F
+#define   S_000050_CU_ID(x)                                           (((unsigned)(x) & 0xF) << 8)
+#define   G_000050_CU_ID(x)                                           (((x) >> 8) & 0xF)
+#define   C_000050_CU_ID                                              0xFFFFF0FF
+#define   S_000050_SH_ID(x)                                           (((unsigned)(x) & 0x1) << 12)
+#define   G_000050_SH_ID(x)                                           (((x) >> 12) & 0x1)
+#define   C_000050_SH_ID                                              0xFFFFEFFF
+#define   S_000050_SE_ID(x)                                           (((unsigned)(x) & 0x3) << 13)
+#define   G_000050_SE_ID(x)                                           (((x) >> 13) & 0x3)
+#define   C_000050_SE_ID                                              0xFFFF9FFF
+#define   S_000050_TG_ID(x)                                           (((unsigned)(x) & 0xF) << 16)
+#define   G_000050_TG_ID(x)                                           (((x) >> 16) & 0xF)
+#define   C_000050_TG_ID                                              0xFFF0FFFF
+#define   S_000050_VM_ID(x)                                           (((unsigned)(x) & 0xF) << 20)
+#define   G_000050_VM_ID(x)                                           (((x) >> 20) & 0xF)
+#define   C_000050_VM_ID                                              0xFF0FFFFF
+#define   S_000050_QUEUE_ID(x)                                        (((unsigned)(x) & 0x7) << 24)
+#define   G_000050_QUEUE_ID(x)                                        (((x) >> 24) & 0x7)
+#define   C_000050_QUEUE_ID                                           0xF8FFFFFF
+#define   S_000050_STATE_ID(x)                                        (((unsigned)(x) & 0x7) << 27)
+#define   G_000050_STATE_ID(x)                                        (((x) >> 27) & 0x7)
+#define   C_000050_STATE_ID                                           0xC7FFFFFF
+#define   S_000050_ME_ID(x)                                           (((unsigned)(x) & 0x3) << 30)
+#define   G_000050_ME_ID(x)                                           (((x) >> 30) & 0x3)
+#define   C_000050_ME_ID                                              0x3FFFFFFF
+#define R_000054_SQ_WAVE_GPR_ALLOC                                      0x000054 /* <= gfx9 */
+#define   S_000054_VGPR_BASE(x)                                       (((unsigned)(x) & 0x3F) << 0)
+#define   G_000054_VGPR_BASE(x)                                       (((x) >> 0) & 0x3F)
+#define   C_000054_VGPR_BASE                                          0xFFFFFFC0
+#define   S_000054_VGPR_SIZE(x)                                       (((unsigned)(x) & 0x3F) << 8)
+#define   G_000054_VGPR_SIZE(x)                                       (((x) >> 8) & 0x3F)
+#define   C_000054_VGPR_SIZE                                          0xFFFFC0FF
+#define   S_000054_SGPR_BASE(x)                                       (((unsigned)(x) & 0x3F) << 16)
+#define   G_000054_SGPR_BASE(x)                                       (((x) >> 16) & 0x3F)
+#define   C_000054_SGPR_BASE                                          0xFFC0FFFF
+#define   S_000054_SGPR_SIZE(x)                                       (((unsigned)(x) & 0xF) << 24)
+#define   G_000054_SGPR_SIZE(x)                                       (((x) >> 24) & 0xF)
+#define   C_000054_SGPR_SIZE                                          0xF0FFFFFF
+#define R_000058_SQ_WAVE_LDS_ALLOC                                      0x000058 /* <= gfx9 */
+#define   S_000058_LDS_BASE(x)                                        (((unsigned)(x) & 0xFF) << 0)
+#define   G_000058_LDS_BASE(x)                                        (((x) >> 0) & 0xFF)
+#define   C_000058_LDS_BASE                                           0xFFFFFF00
+#define   S_000058_LDS_SIZE(x)                                        (((unsigned)(x) & 0x1FF) << 12)
+#define   G_000058_LDS_SIZE(x)                                        (((x) >> 12) & 0x1FF)
+#define   C_000058_LDS_SIZE                                           0xFFE00FFF
+#define R_00005C_SQ_WAVE_IB_STS                                         0x00005C /* <= gfx9 */
+#define   S_00005C_VM_CNT(x)                                          (((unsigned)(x) & 0xF) << 0)
+#define   G_00005C_VM_CNT(x)                                          (((x) >> 0) & 0xF)
+#define   C_00005C_VM_CNT                                             0xFFFFFFF0
+#define   S_00005C_EXP_CNT(x)                                         (((unsigned)(x) & 0x7) << 4)
+#define   G_00005C_EXP_CNT(x)                                         (((x) >> 4) & 0x7)
+#define   C_00005C_EXP_CNT                                            0xFFFFFF8F
+#define   S_00005C_LGKM_CNT_GFX6(x)                                   (((unsigned)(x) & 0x1F) << 8) /* <= gfx6 */
+#define   G_00005C_LGKM_CNT_GFX6(x)                                   (((x) >> 8) & 0x1F)
+#define   C_00005C_LGKM_CNT_GFX6                                      0xFFFFE0FF
+#define   S_00005C_LGKM_CNT_GFX7(x)                                   (((unsigned)(x) & 0xF) << 8) /* gfx7, gfx8, gfx81, gfx9 */
+#define   G_00005C_LGKM_CNT_GFX7(x)                                   (((x) >> 8) & 0xF)
+#define   C_00005C_LGKM_CNT_GFX7                                      0xFFFFF0FF
+#define   S_00005C_VALU_CNT_GFX7(x)                                   (((unsigned)(x) & 0x7) << 12) /* gfx7, gfx8, gfx81, gfx9 */
+#define   G_00005C_VALU_CNT_GFX7(x)                                   (((x) >> 12) & 0x7)
+#define   C_00005C_VALU_CNT_GFX7                                      0xFFFF8FFF
+#define   S_00005C_VALU_CNT_GFX6(x)                                   (((unsigned)(x) & 0x7) << 13) /* <= gfx6 */
+#define   G_00005C_VALU_CNT_GFX6(x)                                   (((x) >> 13) & 0x7)
+#define   C_00005C_VALU_CNT_GFX6                                      0xFFFF1FFF
+#define   S_00005C_FIRST_REPLAY(x)                                    (((unsigned)(x) & 0x1) << 15) /* gfx8, gfx81, gfx9 */
+#define   G_00005C_FIRST_REPLAY(x)                                    (((x) >> 15) & 0x1)
+#define   C_00005C_FIRST_REPLAY                                       0xFFFF7FFF
+#define   S_00005C_RCNT(x)                                            (((unsigned)(x) & 0x1F) << 16) /* gfx8, gfx81, gfx9 */
+#define   G_00005C_RCNT(x)                                            (((x) >> 16) & 0x1F)
+#define   C_00005C_RCNT                                               0xFFE0FFFF
+#define   S_00005C_VM_CNT_HI(x)                                       (((unsigned)(x) & 0x3) << 22) /* gfx9 */
+#define   G_00005C_VM_CNT_HI(x)                                       (((x) >> 22) & 0x3)
+#define   C_00005C_VM_CNT_HI                                          0xFF3FFFFF
+#define R_000060_SQ_WAVE_PC_LO                                          0x000060 /* <= gfx9 */
+#define R_000064_SQ_WAVE_PC_HI                                          0x000064 /* <= gfx9 */
+#define   S_000064_PC_HI(x)                                           (((unsigned)(x) & 0xFFFF) << 0)
+#define   G_000064_PC_HI(x)                                           (((x) >> 0) & 0xFFFF)
+#define   C_000064_PC_HI                                              0xFFFF0000
+#define R_000068_SQ_WAVE_INST_DW0                                       0x000068 /* <= gfx9 */
+#define R_00006C_SQ_WAVE_INST_DW1                                       0x00006C /* <= gfx9 */
+#define R_000070_SQ_WAVE_IB_DBG0                                        0x000070 /* <= gfx9 */
+#define   S_000070_IBUF_ST(x)                                         (((unsigned)(x) & 0x7) << 0)
+#define   G_000070_IBUF_ST(x)                                         (((x) >> 0) & 0x7)
+#define   C_000070_IBUF_ST                                            0xFFFFFFF8



Home | Main Index | Thread Index | Old Index