This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFC: Define UNITS_PER_SIMD_WORD as a macro of scalar mode


Hi,

AVX has 256bit integer and floating point vector registers. However,
it doesn't support
all vector operations for 256bit integer vectors. That means
vectorizer should generate
256bit floating point vector instructions and 128bit integer integer
vector instructions for
AVX.

However, UNITS_PER_SIMD_WORD is defined as a constant. I'd like to change it
to a function/macro of underling scalar mode.

Thanks.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]