diff options
author | Zhigang Gong <zhigang.gong@intel.com> | 2015-01-26 08:47:50 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2015-01-26 08:50:44 +0800 |
commit | 2f6aaeb047c9480058a9cecb0e8464ec3240ed1a (patch) | |
tree | 6c865e8d301fb89c0d304cb64e6ece0f0d5d401e | |
parent | b3eaa3af242d2359ff4d961196cfa910271d45dd (diff) |
GBE: add GEN_TYPE_HF to getTypeSize.
Gen8 use GEN_TYPE_HF, we need to let getTypeSize support it.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Tested-by: Zhu Bingbing <bingbingx.zhu@intel.com>
-rw-r--r-- | backend/src/backend/gen_register.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/src/backend/gen_register.hpp b/backend/src/backend/gen_register.hpp index da58c06e..d5399370 100644 --- a/backend/src/backend/gen_register.hpp +++ b/backend/src/backend/gen_register.hpp @@ -79,6 +79,7 @@ namespace gbe return 4; case GEN_TYPE_UW: case GEN_TYPE_W: + case GEN_TYPE_HF: return 2; case GEN_TYPE_UB: case GEN_TYPE_B: |