https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79177
Bug ID: 79177
Summary: use the register keyword with ymm0 register
Product: gcc
Version: 6.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: alexander.kjall at gmail dot com
Target Milestone: ---
I'm trying to represent the ymm0 register as a variable with the help of the
register key word.
Code that i have tried:
register int __attribute__ ((vector_size (32))) _YMM0_r asm ("ymm0") = _YMM0;
and
register __m256 _YMM0_r asm ("ymm0") = _YMM0;
And this is the error that I get:
encryptor.c:72:17: error: data type of ‘_YMM0_r’ isn’t suitable for a register
register __m256 _YMM0_r asm ("ymm0") = _YMM0;
I can't understand in what way the __m256 datatype is unsuitable for the ymm0
register.