Signed-off-by: Guo, Yejun
---
backend/src/backend/gen/gen_mesa_disasm.c | 28 ++--
backend/src/backend/gen9_instruction.hpp | 112 ++
backend/src/backend/gen_defs.hpp | 3 +
3 files changed, 139 insertions(+), 4 deletions(-)
sends is a new instruction starting from gen9 to split the registers
of address and data for write, the register pressure can be loosed
since they are not necessary to be continuous any more.
more patches for sends will be sent out.
we can choose send or sends based on hasSends() in selection
Signed-off-by: Guo, Yejun
---
backend/src/backend/gen9_encoder.cpp | 58 ++
backend/src/backend/gen9_encoder.hpp | 2 ++
backend/src/backend/gen_context.cpp| 15 +---
backend/src/backend/gen_encoder.cpp| 14
tmp0 is added into src in selection stage, and just ignored at context
stage, it is redundant.
Signed-off-by: Guo, Yejun
---
backend/src/backend/gen_context.cpp| 2 --
backend/src/backend/gen_insn_selection.cpp | 54 +-
2 files changed,
acutally, the dst of printf means nothing, don't need to touch it.
Signed-off-by: Guo, Yejun
---
backend/src/backend/gen_context.cpp| 14 ++
backend/src/backend/gen_insn_selection.cpp | 20 +---
2 files changed, 11 insertions(+), 23