mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
assembler/bdw: Support some basic gen8 intructions
We should now support alu2 intructions with direct register addressing. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
committed by
Ben Widawsky
parent
c3b36592af
commit
af4d37de38
@@ -36,6 +36,7 @@
|
||||
#include "brw_reg.h"
|
||||
#include "brw_defines.h"
|
||||
#include "brw_structs.h"
|
||||
#include "gen8_instruction.h"
|
||||
|
||||
extern long int gen_level;
|
||||
extern int advanced_flag;
|
||||
@@ -131,6 +132,8 @@ typedef struct {
|
||||
enum assembler_instruction_type {
|
||||
GEN4ASM_INSTRUCTION_GEN,
|
||||
GEN4ASM_INSTRUCTION_GEN_RELOCATABLE,
|
||||
GEN4ASM_INSTRUCTION_GEN8,
|
||||
GEN4ASM_INSTRUCTION_GEN8_RELOCATABLE,
|
||||
GEN4ASM_INSTRUCTION_LABEL,
|
||||
};
|
||||
|
||||
@@ -152,6 +155,7 @@ struct brw_program_instruction {
|
||||
unsigned inst_offset;
|
||||
union {
|
||||
struct brw_instruction gen;
|
||||
struct gen8_instruction gen8;
|
||||
struct label_instruction label;
|
||||
} insn;
|
||||
struct relocation reloc;
|
||||
|
||||
Reference in New Issue
Block a user