$ hexagon-clang --version
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 7.2.10
$ cat test.c
#include "hexagon_types.h"
HVX_Vector test(HVX_Vector (*func)()) {
return Q6_Vh_vadd_VhVh(func(), func());
}
$ hexagon-clang -mv60 -O2 -mhvx-double -c -o test.o test.c
/tmp/test-f16d37.s:22:2: error: v60 packet violation
}
^
clang-3.5: error: hexagon-llvm-mc command failed with exit code 1 (use -v to see invocation)
hexagon-clang error: v60 packet violation
Posted: Thu, 2015-12-17 08:37