When I use _mm512_gf2p8affine_epi64_epi8 from the GFNI instruction set and add a return value to this function, it results in an error

40 views Asked by At

My hardware supports instruction sets. It can run without adding a return value, but when adding one, it throws an error Illegal instruction (core dumped).

Makefile is as follows:

CC      = icc
CFLAGS      = -g  -march=native -mgfni -mavx512f 

$(BIN): $(OBJS)
    $(CC) $(CFLAGS)  -o $(BIN) $(OBJS)

.c.o:
    $(CC) $(CFLAGS) -c $< -o $@

clean:
    rm -f $(OBJS) $(BIN)

I have tried many examples, but they all result in errors. For example, https://github.com/WojciechMula/toys/tree/master/avx512-galois.

0

There are 0 answers