This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [PATCH] Fix for PR 14423 - Assembler doesn't recognize fma instructions in bdver2 core


On Thu, Aug 9, 2012 at 1:14 AM, Ekanathan, Saravanan
<Saravanan.Ekanathan@amd.com> wrote:
> 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
>

You can create new *.d files, similar to
arch-10-lzcnt.d/x86-64-arch-2-lzcnt.d, with

-march=bdver2+....


-- 
H.J.


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