Skip to content

error: ‘asm’ operand has impossible constraints #595

@chengguosun

Description

@chengguosun

hi,
i compiled the latest blis with gcc7.2, but there was an error as shown below:

kernels/haswell/3/bli_gemm_haswell_asm_d6x8.c: In function ‘bli_sgemm_haswell_asm_6x16’:
./frame/include/bli_x86_asm_macros.h:102:21: error: ‘asm’ operand has impossible
#define BEGIN_ASM() asm volatile (

i found this error caused by "attribute((aligned(BLIS_STACK_BUF_ALIGN_SIZE)))" in bli_edge_case_macro_defs.h, if i delete this line, compilation passed.

if i compile blis with gcc8.5, it passes with no errors. so, I think this may be related to compiler optimization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions