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][SPARC] gas,opcodes: fix hardware capabilities bumping in the sparc assembler.


Hi Jose,

> gas/ChangeLog:
>     
> 2016-11-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
>     
>        	* config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
>        	opcodes/sparc-opc.c.
>        	(sparc_arch): Clarify the new role of the hwcap_allowed and
>        	hwcap2_allowed fields.
>        	(sparc_arch_table): Remove HWS_* and HWS2_* instances from
>        	hwcap_allowed and hwcap2_allowed respectively.
>        	(md_parse_option): Include the opcode arch hwcaps when processing
>        	-A.
>        	(sparc_ip): Use the current opcode arch hwcaps to update
>        	hwcap_allowed, as well of the hwcaps of the instruction triggering
>        	the bump.
>        	* testsuite/gas/sparc/hwcaps-bump.s: New file.
>        	* testsuite/gas/sparc/hwcaps-bump.l: Likewise.
>        	* testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
>        	hwcaps-bump.
>    
> include/ChangeLog:
>     
> 2016-11-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
>     
>        	* opcode/sparc.h (sparc_opcode_arch): New fields hwcaps and
>        	hwcaps2.
>     
> opcodes/ChangeLog:
>     
> 2016-11-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
>     
>        	* sparc-opc.c (HWS_V8): Definition moved from
>        	gas/config/tc-sparc.c.
>        	(HWS_V9): Likewise.
>        	(HWS_VA): Likewise.
>        	(HWS_VB): Likewise.
>        	(HWS_VC): Likewise.
>        	(HWS_VD): Likewise.
>        	(HWS_VE): Likewise.
>        	(HWS_VV): Likewise.
>        	(HWS_VM): Likewise.
>        	(HWS2_VM): Likewise.
>        	(sparc_opcode_archs): Initialize hwcaps and hwcaps2 fields of
 
Approved - please apply.

Cheers
  Nick


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