[Beignet] [PATCH 11/21 V3] Backend: Add tm0 function for arf timestamp register.
junyan.he at inbox.com
junyan.he at inbox.com
Mon Nov 16 15:40:13 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_register.hpp | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/backend/src/backend/gen_register.hpp b/backend/src/backend/gen_register.hpp
index a56598f..0a077f2 100644
--- a/backend/src/backend/gen_register.hpp
+++ b/backend/src/backend/gen_register.hpp
@@ -798,6 +798,16 @@ namespace gbe
return reg;
}
+ static INLINE GenRegister tm0(void) {
+ return GenRegister(GEN_ARCHITECTURE_REGISTER_FILE,
+ 0xc0,
+ 0,
+ GEN_TYPE_UW,
+ GEN_VERTICAL_STRIDE_4,
+ GEN_WIDTH_4,
+ GEN_HORIZONTAL_STRIDE_1);
+ }
+
static INLINE GenRegister acc(void) {
return GenRegister(GEN_ARCHITECTURE_REGISTER_FILE,
GEN_ARF_ACCUMULATOR,
--
1.7.9.5
More information about the Beignet
mailing list