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, AArch64] Update pstate register table to have flags


On Nov 20, 2013, at 12:12 PM, Richard Earnshaw <rearnsha@arm.com> wrote:

> On 20/11/13 09:19, Yufeng Zhang wrote:
>> Hi,
>> 
>> This patch addresses the issue where error messages for deprecated 
>> system register names were issued when parsing a PSTATE value.  Nick 
>> patched the assembler by tweaking the parsing function here: 
>> http://sourceware.org/ml/binutils/2013-11/msg00216.html.  This stops the 
>> assembler to complain but the underlying issue is that the pstate 
>> register table needs an update to have the same element type as the 
>> general system register table.  This was overlooked when I prepared the 
>> patch to deprecate the alias system registers spsr_svc and spsr_hyp a 
>> couple of weeks ago: 
>> http://sourceware.org/ml/binutils/2013-11/msg00040.html.
>> 
>> OK to revert Nick's patch and commit this for the mainline and 2_24 branch?
>> 
>> Thanks,
>> Yufeng
>> 
>> 
>> gas/testsuite/
>> 
>>         * gas/aarch64/msr.s: Add tests.
>>         * gas/aarch64/msr.d: Update.
>> 
>> include/opcode
>> 
>>         * aarch64.h (aarch64_pstatefields): Change element type to
>>         aarch64_sys_reg.
>> 
>> opcodes/
>> 
>>         * aarch64-opc.c (aarch64_pstatefields): Update.
>> 
>> 
> 
> Ok for mainline.
> Ok for 2_24 if Tristan is happy.

Ok with me.


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