summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunyan He <junyan.he@linux.intel.com>2015-02-10 16:14:35 +0800
committerZhigang Gong <zhigang.gong@intel.com>2015-02-11 09:59:55 +0800
commit217fd65c19a8f636a0dc8fed85fdf88bed89af89 (patch)
treed7004894debd7948c8b941bcb68d60092fcffe5f
parenta3520f04801d4f1b5b99ea788ab696a79afa3e40 (diff)
Correct the bit fields error for indirect address of Gen8
Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
-rw-r--r--backend/src/backend/gen8_instruction.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/src/backend/gen8_instruction.hpp b/backend/src/backend/gen8_instruction.hpp
index 8981fe7b..bfa86c7b 100644
--- a/backend/src/backend/gen8_instruction.hpp
+++ b/backend/src/backend/gen8_instruction.hpp
@@ -96,9 +96,9 @@ union Gen8NativeInstruction
uint32_t dest_reg_type:4;
uint32_t src0_reg_file:2;
uint32_t src0_reg_type:4;
- int dest_indirect_offset_9:1; /* offset against the deref'd address reg bit9 */
+ int dest_indirect_offset_9:1; /* offset against the deref'd address reg bit9 */
int dest_indirect_offset:9; /* offset against the deref'd address reg bit0-8 */
- uint32_t dest_subreg_nr:3; /* subnr for the address reg a0.x */
+ uint32_t dest_subreg_nr:4; /* subnr for the address reg a0.x */
uint32_t dest_horiz_stride:2;
uint32_t dest_address_mode:1;
} ia1;