This is the mail archive of the binutils-cvs@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]

src gas/ChangeLog gas/config/tc-i386.c gas/tes ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jbeulich@sourceware.org	2012-08-07 16:51:35

Modified files:
	gas            : ChangeLog 
	gas/config     : tc-i386.c 
	gas/testsuite  : ChangeLog 
	gas/testsuite/gas/i386: i386.exp 
	opcodes        : ChangeLog i386-opc.tbl 
Added files:
	gas/testsuite/gas/i386: x86-64-specific-reg.l 
	                        x86-64-specific-reg.s 

Log message:
	There were several cases where the registers in the REX encoded range
	got treated identically to the ones in the base range, due to not
	paying attention to the fact that reg_entry's reg_num field doesn't
	fully specify the register number (reg_flags also needs to be checked
	for RegRex). This patch introduces and uses a new (inline) function to
	obtain the full register number, and uses it to fix all those cases.
	
	It additionally adds the missing operand checks for SVME instructions
	(which match the monitor/mwait ones).
	
	gas/
	2012-08-07  Jan Beulich <jbeulich@suse.com>
	
	* config/tc-i386.c (register_number): New function.
	(build_vex_prefix, process_immext, process_operands,
	build_modrm_byte, i386_index_check): Use it.
	
	gas/testsuite/
	2012-08-07  Jan Beulich <jbeulich@suse.com>
	
	* gas/i386/x86-64-specific-reg.{s,l}: New.
	* gas/i386/i386.exp: Run new test.
	
	opcodes/
	2012-08-07  Jan Beulich <jbeulich@suse.com>
	
	* i386-opc.tbl: Remove "FIXME" comments from SVME instructions.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4785&r2=1.4786
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-i386.c.diff?cvsroot=src&r1=1.501&r2=1.502
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2073&r2=1.2074
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/x86-64-specific-reg.l.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/x86-64-specific-reg.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/i386.exp.diff?cvsroot=src&r1=1.170&r2=1.171
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.1840&r2=1.1841
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/i386-opc.tbl.diff?cvsroot=src&r1=1.105&r2=1.106


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