mirror of
https://github.com/amd/blis.git
synced 2026-05-21 17:08:17 +00:00
the Apple local label thing is required by Clang in general
@egaudry and I both saw this issue on Linux with Clang 10.
```
Compiling obj/thunderx2/kernels/armv8a/3/sup/bli_gemmsup_rv_armv8a_asm_d4x8m.o ('thunderx2' CFLAGS for kernels)
kernels/armv8a/3/bli_gemm_armv8a_asm_d6x8.c:171:49: fatal error: invalid symbol redefinition
" \n\t"
^
<inline asm>:90:5: note: instantiated into assembly here
.SLOOPKITER:
^
1 error generated.
```
Signed-off-by: Jeff Hammond <jehammond@nvidia.com>
This commit is contained in:
committed by
Devin Matthews
parent
81f93be056
commit
0ab20c0e72
@@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
// Apple's local label requirements.
|
||||
#if defined(__APPLE__)
|
||||
#if defined(__APPLE__) || defined(__clang__)
|
||||
#define LABEL(str) " L" #str"%=: \n\t"
|
||||
#define BEQ(str) "b.eq L" #str"%= \n\t"
|
||||
#define BNE(str) "b.ne L" #str"%= \n\t"
|
||||
|
||||
Reference in New Issue
Block a user