[PATCH][AArch64][libgloss] Tidy up WXN bit clearing

Marcus Shawcroft marcus.shawcroft@arm.com
Tue Jan 28 09:08:00 GMT 2014


On 28/01/14 09:06, Kyrill Tkachov wrote:
> Hi all,
>
> The patch I sent out recently to clear the WXN bit could be improved a bit.
> We can use the assembler bic-immediate pseudo-instruction instead of a
> mov-immediate and register-bic.
> This patch shortens that sequence a bit.
>
> Sorry for the noise.
>
> Ok?
>
> Tested aarch64-none-elf on a model.
>
> P.S. Can someone please install this if ok'd?
>
> [libgloss/]
> 2014-01-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>
>       * aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Use bic-immediate
>       form to clear WXN bit.
>

Looks good to me.
/Marcus



More information about the Newlib mailing list