[PATCH] Implement PMC errata for MIPS
Moore, Catherine
Catherine_Moore@mentor.com
Tue Nov 19 00:48:00 GMT 2013
> -----Original Message-----
> From: Richard Sandiford [mailto:rdsandiford@googlemail.com]
> Sent: Wednesday, November 13, 2013 3:41 PM
> To: Moore, Catherine
> Cc: binutils@sourceware.org
> Subject: Re: [PATCH] Implement PMC errata for MIPS
>
> "Moore, Catherine" <Catherine_Moore@mentor.com> writes:
> > This patch adds support for the -mfix-pmc option in binutils. Does
> > this look okay to install?
>
> Looks good, thanks, but please run the testsuite for both a mips*-elf and a
> mips*-linux-gnu target. mips*-linux-gnu aligns the text section to 16 bytes,
> and since the tests don't end on a 16-byte boudnary, they're likely to have
> more nops (or "..." instead of nops).
>
> One of the things you're testing is that we correctly add 3 nops after a final
> DMULTU, which is good, and definitely someting we should keep.
> That means we don't want to add .space to the end or use #pass, which are
> the usual ways of handling the alignment difference. I think the best thing
> would be to add:
>
> .section .text2, "ax", @progbits
> .align 2
>
> to the beginning of both tests so that we can pick our own alignment.
I've now made this change, plus I've changed the -mfix-pmc option to mfix-rm7000.
>
> There also needs to be some documentation in as.texinfo and c-mips.texi.
>
Now done.
OK?
Thanks,
Catherine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pmc-2.cl
Type: application/octet-stream
Size: 799 bytes
Desc: fix-pmc-2.cl
URL: <https://sourceware.org/pipermail/binutils/attachments/20131119/f3080eb9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pmc-2.patch
Type: application/octet-stream
Size: 9966 bytes
Desc: fix-pmc-2.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20131119/f3080eb9/attachment-0001.obj>
More information about the Binutils
mailing list