This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [PATCH] Fix for PR 14423 - Assembler doesn't recognize fma instructions in bdver2 core
Hi,
The files (arch-10.s and x86-64-arch-2.s) already does fma testing but it doesn't test whether a specific core (bdver2) supports fma or not.
Re-using these assembly files and creating new .d(objdump) files with -march=bdver2 will not help, because these files have un-supported bdver2 instructions.
So, is there a way to test a core against one/all of the supported instructions in the existing Assembler test framework?
If not, adding a new testscase for this bug is the only option I guess.
Regards,
Saravanan
-----Original Message-----
From: H.J. Lu [mailto:hjl.tools@gmail.com]
Sent: Tuesday, August 07, 2012 7:50 PM
To: Ekanathan, Saravanan
Cc: binutils@sourceware.org
Subject: Re: [PATCH] Fix for PR 14423 - Assembler doesn't recognize fma instructions in bdver2 core
On Mon, Aug 6, 2012 at 10:42 PM, Ekanathan, Saravanan <Saravanan.Ekanathan@amd.com> wrote:
> Thanks H.J.Lu for the review comments.
>
> PFA, the updated patch with following review comments incorporated:
> 1) Used diff -upN to create the testsuite patch.
> 2) ChangeLog has been updated, so it's in sync with the existing
> ones
>
> Ok for the trunk?
Please add the FMA test to arch-10.s and x86-64-arch-2.s instead.
H.J.
--