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]

Re: [AVX]: More AVX updates


Hello!

I am checking this patch into AVX branch. Now we can generate
pure AVX codes for all intrinsics in 64bit.
- "cvtts<ssemodefsuffix>2si\t{%1, %0|%0, %1}"
+ "* return TARGET_AVX + ? \"vcvtts<ssemodefsuffix>2si\t{%1, %0|%0, %1}\"
+ :\"cvtts<ssemodefsuffix>2si\t{%1, %0|%0, %1}\";"
What do you think about adding "%v" asm directive, i.e.:

"%vcvtts<ssemodefsuffix>2si\t{%1, %0|%0, %1}"

and output 'v' in print_operand () function, depending on TARGET_AVX? This would simplify a lot of insn templates, probably even more when 'enabled' attribute is used.

Uros.


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