This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AVX]: More AVX updates
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 23 May 2008 22:27:04 +0200
- Subject: 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.