[Beignet] [PATCH 02/27] Add long type support for disasm.
junyan.he at inbox.com
junyan.he at inbox.com
Tue Jan 6 02:00:06 PST 2015
From: Junyan He <junyan.he at linux.intel.com>
Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
backend/src/backend/gen/gen_mesa_disasm.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/backend/src/backend/gen/gen_mesa_disasm.c b/backend/src/backend/gen/gen_mesa_disasm.c
index 162d459..1241e4c 100644
--- a/backend/src/backend/gen/gen_mesa_disasm.c
+++ b/backend/src/backend/gen/gen_mesa_disasm.c
@@ -265,7 +265,7 @@ static const char *access_mode[2] = {
[1] = "align16",
};
-static const char *reg_encoding[8] = {
+static const char *reg_encoding[10] = {
[0] = ":UD",
[1] = ":D",
[2] = ":UW",
@@ -273,10 +273,12 @@ static const char *reg_encoding[8] = {
[4] = ":UB",
[5] = ":B",
[6] = ":DF",
- [7] = ":F"
+ [7] = ":F",
+ [8] = ":Q",
+ [9] = ":UQ"
};
-int reg_type_size[8] = {
+int reg_type_size[10] = {
[0] = 4,
[1] = 4,
[2] = 2,
@@ -284,7 +286,9 @@ int reg_type_size[8] = {
[4] = 1,
[5] = 1,
[6] = 8,
- [7] = 4
+ [7] = 4,
+ [8] = 8,
+ [9] = 8
};
static const char *reg_file[4] = {
--
1.9.1
More information about the Beignet
mailing list