This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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, i386]: Correct HAVE_AS_IX86_REP_LOCK_PREFIX configure test for Darwin



On 9 Jul 2010, at 19:52, IainS wrote:



On 9 Jul 2010, at 17:08, Uros Bizjak wrote:


Hello!

Attached patch fixes HAVE_AS_IX86_REP_LOCK_PREFIX configure test for
Darwin and removes special handling from output_operand.

2010-07-09 Uros Bizjak <ubizjak@gmail.com>

	* configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also check
	for "lock addl".
	* configure: Regenerate.
	* config/i386/i386.c (ix86_print_operand) <case ';'>:
	Remove TARGET_MACHO.

Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu.
The patch was also tested on i686-apple-darwin{8,9} and
x86_64-apple-darwin10 by Iain.

Hm. but you did change the test from


#if !HAVE_AS_IX86_REP_LOCK_PREFIX

to

#ifndef HAVE_AS_IX86_REP_LOCK_PREFIX
	...
#endif

but

HAVE_AS_IX86_REP_LOCK_PREFIX is defined as 0 or 1

Iain.


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