fix compilation issue for haswell + gcc 7.3.1 (impossible constraints)#692
Open
springer13 wants to merge 1 commit intoflame:masterfrom
Open
fix compilation issue for haswell + gcc 7.3.1 (impossible constraints)#692springer13 wants to merge 1 commit intoflame:masterfrom
springer13 wants to merge 1 commit intoflame:masterfrom
Conversation
gcc -O2 -O3 -fomit-frame-pointer -mavx2 -mfma -mfpmath=sse -march=haswell -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/haswell -I./frame/3/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -DBLIS_VERSION_STRING=\"0.9.0\" -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c kernels/haswell/3/bli_gemm_haswell_asm_d8x6.c -o bli_gemm_haswell_asm_d8x6.o
In file included from kernels/haswell/3/bli_gemm_haswell_asm_d8x6.c:38:0:
kernels/haswell/3/bli_gemm_haswell_asm_d8x6.c: In function 'bli_sgemm_haswell_asm_16x6':
./frame/include/bli_x86_asm_macros.h:102:21: error: 'asm' operand has impossible constraints
#define BEGIN_ASM() __asm__ volatile (
^
./frame/include/bli_x86_asm_macros.h:153:21: note: in expansion of macro 'BEGIN_ASM'
#define begin_asm() BEGIN_ASM()
^~~~~~~~~
kernels/haswell/3/bli_gemm_haswell_asm_d8x6.c:105:2: note: in expansion of macro 'begin_asm'
Collaborator
|
I'm wondering if it would be possible to somehow adjust It looks a bit similar to #539 where LLVM seems to prefer registers as in/out instead of |
Member
|
@springer13 @xrq-phys Sorry that I'm just now seeing this. I'm not familiar enough with the non-memory constraints of extended inline assembly syntax to comment here without further research. What does the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm not sure why I'm running into this issue, but gcc 7.3.1 is failing with
Will tests be run automatically or should I run some?