[PATCH, BINUTILS, AARCH64, 6/9] Add Random number instructions

Sudakshina Das sudi.das@arm.com
Wed Sep 26 10:47:00 GMT 2018


Hi

On 19/09/18 15:27, Sudakshina Das wrote:
> Hi
> 
> This patch is part of the patch series to add support for ARMv8.5-A
> extensions.
> (https://developer.arm.com/products/architecture/cpu-architecture/a-profile/exploration-tools) 
> 
> The encodings can be found in the System Register XML.
> 
> This patch adds the following:
> MSR Xn, RNDR
> MSR Xn, RNDRRS
> 
> These are optional instructions in ARMv8.5-A and hence the new
> +rng is added.
> 

Attaching patch with updated flags.

Thanks
Sudi

> Testing done: Builds and reg tests all pass on aarch64-none-linux-gnu.
> and aarch64-none-elf. Added new test.
> 
> Ok for trunk?
> 
> Thanks
> Sudi
> PS. I do not have commit access so if OK can someone apply for me?
> 
> *** include/ChangeLog ***
> 
> 2018-xx-xx  Sudakshina Das  <sudi.das@arm.com>
> 
>      * opcode/aarch64.h (AARCH64_FEATURE_RNG): New.
> 
> *** opcodes/ChangeLog ***
> 
> 2018-xx-xx  Sudakshina Das  <sudi.das@arm.com>
> 
>      * aarch64-opc.c (aarch64_sys_regs): New entries for
>      rndr and rndrrs.
>      (aarch64_sys_reg_supported_p): New check for above.
> 
> *** gas/ChangeLog ***
> 
> 2018-xx-xx  Sudakshina Das  <sudi.das@arm.com>
> 
>      * config/tc-aarch64.c (aarch64_features): New "rng" option.
>      * doc/c-aarch64.texi: Document the same.
>      * testsuite/gas/aarch64/sysreg-4.s: Test both instructions.
>      * testsuite/gas/aarch64/sysreg-4.d: Likewise.
>      * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise.
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb9967.patch
Type: text/x-patch
Size: 4774 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180926/379a15c0/attachment.bin>


More information about the Binutils mailing list