Commit c80128e
committed
[SystemZ][XRay] Make xray work with gcc
It seems that depending on the platform, gcc acceptts or does not
accept `-mvx` without specifying an architecture actually having
vector instructions. The solution which seems to work across
different versions of gcc and clang is to specify the least
architecture which has vector instructions.
In addition, initialization of the unused variable CPU prevents
a compiler warning from gcc.1 parent 5399782 commit c80128e
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
0 commit comments