diff options
author | Jason Ekstrand <[email protected]> | 2016-08-22 15:01:08 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-03 08:23:06 -0700 |
commit | 527f37199929932300acc1688d8160e1f3b1d753 (patch) | |
tree | 8898917626d3a19f5a2c338e3320ab68150b70ff /src/mesa/drivers/dri/i965/brw_inst.h | |
parent | 55364ab5b7136e09a61d858f1167dee81e17bd9f (diff) |
intel: s/brw_device_info/gen_device_info/
Generated by:
sed -i -e 's/brw_device_info/gen_device_info/g' src/intel/**/*.c
sed -i -e 's/brw_device_info/gen_device_info/g' src/intel/**/*.h
sed -i -e 's/brw_device_info/gen_device_info/g' **/i965/*.c
sed -i -e 's/brw_device_info/gen_device_info/g' **/i965/*.cpp
sed -i -e 's/brw_device_info/gen_device_info/g' **/i965/*.h
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_inst.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_inst.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_inst.h b/src/mesa/drivers/dri/i965/brw_inst.h index f45e56400c9..d98bbf538a8 100644 --- a/src/mesa/drivers/dri/i965/brw_inst.h +++ b/src/mesa/drivers/dri/i965/brw_inst.h @@ -52,7 +52,7 @@ static inline void brw_inst_set_bits(brw_inst *inst, #define FC(name, high, low, assertions) \ static inline void \ -brw_inst_set_##name(const struct brw_device_info *devinfo, \ +brw_inst_set_##name(const struct gen_device_info *devinfo, \ brw_inst *inst, uint64_t v) \ { \ assert(assertions); \ @@ -60,7 +60,7 @@ brw_inst_set_##name(const struct brw_device_info *devinfo, \ brw_inst_set_bits(inst, high, low, v); \ } \ static inline uint64_t \ -brw_inst_##name(const struct brw_device_info *devinfo, \ +brw_inst_##name(const struct gen_device_info *devinfo, \ const brw_inst *inst) \ { \ assert(assertions); \ @@ -94,14 +94,14 @@ brw_inst_##name(const struct brw_device_info *devinfo, \ */ #define FF(name, hi4, lo4, hi45, lo45, hi5, lo5, hi6, lo6, hi7, lo7, hi8, lo8)\ static inline void \ -brw_inst_set_##name(const struct brw_device_info *devinfo, \ +brw_inst_set_##name(const struct gen_device_info *devinfo, \ brw_inst *inst, uint64_t value) \ { \ BOUNDS(hi4, lo4, hi45, lo45, hi5, lo5, hi6, lo6, hi7, lo7, hi8, lo8) \ brw_inst_set_bits(inst, high, low, value); \ } \ static inline uint64_t \ -brw_inst_##name(const struct brw_device_info *devinfo, const brw_inst *inst) \ +brw_inst_##name(const struct gen_device_info *devinfo, const brw_inst *inst) \ { \ BOUNDS(hi4, lo4, hi45, lo45, hi5, lo5, hi6, lo6, hi7, lo7, hi8, lo8) \ return brw_inst_bits(inst, high, low); \ @@ -248,7 +248,7 @@ F(3src_opcode, 6, 0) * @{ */ static inline void -brw_inst_set_uip(const struct brw_device_info *devinfo, +brw_inst_set_uip(const struct gen_device_info *devinfo, brw_inst *inst, int32_t value) { assert(devinfo->gen >= 6); @@ -263,7 +263,7 @@ brw_inst_set_uip(const struct brw_device_info *devinfo, } static inline int32_t -brw_inst_uip(const struct brw_device_info *devinfo, const brw_inst *inst) +brw_inst_uip(const struct gen_device_info *devinfo, const brw_inst *inst) { assert(devinfo->gen >= 6); @@ -275,7 +275,7 @@ brw_inst_uip(const struct brw_device_info *devinfo, const brw_inst *inst) } static inline void -brw_inst_set_jip(const struct brw_device_info *devinfo, +brw_inst_set_jip(const struct gen_device_info *devinfo, brw_inst *inst, int32_t value) { assert(devinfo->gen >= 6); @@ -290,7 +290,7 @@ brw_inst_set_jip(const struct brw_device_info *devinfo, } static inline int32_t -brw_inst_jip(const struct brw_device_info *devinfo, const brw_inst *inst) +brw_inst_jip(const struct gen_device_info *devinfo, const brw_inst *inst) { assert(devinfo->gen >= 6); @@ -304,14 +304,14 @@ brw_inst_jip(const struct brw_device_info *devinfo, const brw_inst *inst) /** Like FC, but using int16_t to handle negative jump targets. */ #define FJ(name, high, low, assertions) \ static inline void \ -brw_inst_set_##name(const struct brw_device_info *devinfo, brw_inst *inst, int16_t v) \ +brw_inst_set_##name(const struct gen_device_info *devinfo, brw_inst *inst, int16_t v) \ { \ assert(assertions); \ (void) devinfo; \ brw_inst_set_bits(inst, high, low, (uint16_t) v); \ } \ static inline int16_t \ -brw_inst_##name(const struct brw_device_info *devinfo, const brw_inst *inst) \ +brw_inst_##name(const struct gen_device_info *devinfo, const brw_inst *inst) \ { \ assert(assertions); \ (void) devinfo; \ @@ -554,21 +554,21 @@ F(pi_message_data, MD(7), MD(0)) * @{ */ static inline int -brw_inst_imm_d(const struct brw_device_info *devinfo, const brw_inst *insn) +brw_inst_imm_d(const struct gen_device_info *devinfo, const brw_inst *insn) { (void) devinfo; return brw_inst_bits(insn, 127, 96); } static inline unsigned -brw_inst_imm_ud(const struct brw_device_info *devinfo, const brw_inst *insn) +brw_inst_imm_ud(const struct gen_device_info *devinfo, const brw_inst *insn) { (void) devinfo; return brw_inst_bits(insn, 127, 96); } static inline float -brw_inst_imm_f(const struct brw_device_info *devinfo, const brw_inst *insn) +brw_inst_imm_f(const struct gen_device_info *devinfo, const brw_inst *insn) { fi_type ft; (void) devinfo; @@ -577,7 +577,7 @@ brw_inst_imm_f(const struct brw_device_info *devinfo, const brw_inst *insn) } static inline double -brw_inst_imm_df(const struct brw_device_info *devinfo, const brw_inst *insn) +brw_inst_imm_df(const struct gen_device_info *devinfo, const brw_inst *insn) { union { double d; @@ -589,7 +589,7 @@ brw_inst_imm_df(const struct brw_device_info *devinfo, const brw_inst *insn) } static inline void -brw_inst_set_imm_d(const struct brw_device_info *devinfo, +brw_inst_set_imm_d(const struct gen_device_info *devinfo, brw_inst *insn, int value) { (void) devinfo; @@ -597,7 +597,7 @@ brw_inst_set_imm_d(const struct brw_device_info *devinfo, } static inline void -brw_inst_set_imm_ud(const struct brw_device_info *devinfo, +brw_inst_set_imm_ud(const struct gen_device_info *devinfo, brw_inst *insn, unsigned value) { (void) devinfo; @@ -605,7 +605,7 @@ brw_inst_set_imm_ud(const struct brw_device_info *devinfo, } static inline void -brw_inst_set_imm_f(const struct brw_device_info *devinfo, +brw_inst_set_imm_f(const struct gen_device_info *devinfo, brw_inst *insn, float value) { fi_type ft; @@ -615,7 +615,7 @@ brw_inst_set_imm_f(const struct brw_device_info *devinfo, } static inline void -brw_inst_set_imm_df(const struct brw_device_info *devinfo, +brw_inst_set_imm_df(const struct gen_device_info *devinfo, brw_inst *insn, double value) { union { @@ -632,7 +632,7 @@ brw_inst_set_imm_df(const struct brw_device_info *devinfo, /* The AddrImm fields are split into two discontiguous sections on Gen8+ */ #define BRW_IA1_ADDR_IMM(reg, g4_high, g4_low, g8_nine, g8_high, g8_low) \ static inline void \ -brw_inst_set_##reg##_ia1_addr_imm(const struct brw_device_info *devinfo, \ +brw_inst_set_##reg##_ia1_addr_imm(const struct gen_device_info *devinfo, \ brw_inst *inst, \ unsigned value) \ { \ @@ -645,7 +645,7 @@ brw_inst_set_##reg##_ia1_addr_imm(const struct brw_device_info *devinfo, \ } \ } \ static inline unsigned \ -brw_inst_##reg##_ia1_addr_imm(const struct brw_device_info *devinfo, \ +brw_inst_##reg##_ia1_addr_imm(const struct gen_device_info *devinfo, \ const brw_inst *inst) \ { \ if (devinfo->gen >= 8) { \ @@ -664,7 +664,7 @@ BRW_IA1_ADDR_IMM(dst, 57, 48, 47, 56, 48) #define BRW_IA16_ADDR_IMM(reg, g4_high, g4_low, g8_nine, g8_high, g8_low) \ static inline void \ -brw_inst_set_##reg##_ia16_addr_imm(const struct brw_device_info *devinfo, \ +brw_inst_set_##reg##_ia16_addr_imm(const struct gen_device_info *devinfo, \ brw_inst *inst, unsigned value) \ { \ assert((value & ~0x3ff) == 0); \ @@ -676,7 +676,7 @@ brw_inst_set_##reg##_ia16_addr_imm(const struct brw_device_info *devinfo, \ } \ } \ static inline unsigned \ -brw_inst_##reg##_ia16_addr_imm(const struct brw_device_info *devinfo, \ +brw_inst_##reg##_ia16_addr_imm(const struct gen_device_info *devinfo, \ const brw_inst *inst) \ { \ if (devinfo->gen >= 8) { \ @@ -782,7 +782,7 @@ brw_compact_inst_set_bits(brw_compact_inst *inst, unsigned high, unsigned low, #define FC(name, high, low, assertions) \ static inline void \ -brw_compact_inst_set_##name(const struct brw_device_info *devinfo, \ +brw_compact_inst_set_##name(const struct gen_device_info *devinfo, \ brw_compact_inst *inst, unsigned v) \ { \ assert(assertions); \ @@ -790,7 +790,7 @@ brw_compact_inst_set_##name(const struct brw_device_info *devinfo, \ brw_compact_inst_set_bits(inst, high, low, v); \ } \ static inline unsigned \ -brw_compact_inst_##name(const struct brw_device_info *devinfo, \ +brw_compact_inst_##name(const struct gen_device_info *devinfo, \ const brw_compact_inst *inst) \ { \ assert(assertions); \ |