summaryrefslogtreecommitdiff
path: root/assembler/gen4asm.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-01-31 02:16:08 +0000
committerBen Widawsky <benjamin.widawsky@intel.com>2013-11-06 09:34:35 -0800
commitaf4d37de38f2ea0304b9618fbe8d85733663a6c8 (patch)
treeb3fb6d1211708a3f59d0045ab830af11f484d4d1 /assembler/gen4asm.h
parentc3b36592af100672c9b52bdb141e38b7501a658b (diff)
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>
Diffstat (limited to 'assembler/gen4asm.h')
-rw-r--r--assembler/gen4asm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h
index dca7f0ff..6b957e28 100644
--- a/assembler/gen4asm.h
+++ b/assembler/gen4asm.h
@@ -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;