diff options
author | Homer Hsing <homer.xing@intel.com> | 2013-02-17 13:23:41 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-04-10 14:52:33 +0800 |
commit | a637f16dec6a2eadb40a6ae6032ba5c4a41776a7 (patch) | |
tree | 7070ab0c00dc0ce864b8bb663285e62a895b4480 /utests/utest_helper.cpp | |
parent | 12f08a61b5933baf9ceb24609b95cb1cb85d88c8 (diff) |
Output the map from IR reg to ASM reg
It is hard to guess the meaning of
"mul(8) g10<1>d g0.6<0,1,0>d g3.2<0,1,0>d"
if you don't know the IR reg num of "g10" etc.
Now we can output the map from IR reg to ASM reg, such as
"%0 g10.0D"
"%1 g0.6D"
"%2 g3.2D"
So you know the meaning is
"mul %0 %1 %2"
By default, not output those message.
You can turn on by BVAR "OCL_OUTPUT_REG_ALLOC".
Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'utests/utest_helper.cpp')
0 files changed, 0 insertions, 0 deletions