[PATCH] Fix check_effective_target_xop

Jakub Jelinek jakub@redhat.com
Thu Nov 5 13:36:00 GMT 2009


Hi!

On Thu, Oct 29, 2009 at 01:14:21PM -0500, rajagopal, dwarak wrote:
> As you suggested, I'll submit a separate patch to fix those issues.

I've noticed that this check fails differently than I'd expect:
xop1265.c: In function '_mm_maccs_epi16':
xop1265.c:8:13: error: can't convert between vector values of different size
compiler exited with status 1

instead of:

/tmp/cc0fdl6g.s: Assembler messages:
/tmp/cc0fdl6g.s:9: Error: no such instruction: `vpmacssww %xmm2,%xmm0,%xmm1,%xmm0'
compiler exited with status 1

(btw, when will be the XOP/LWP binutils support submitted?).

The problem is that the test uses a non-existing builtin name.

Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
trunk?

	Jakub



More information about the Gcc-patches mailing list