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: Fix ia64_expand_compare_and_swap


On Fri, Apr 25, 2003 at 09:33:33AM -0700, H. J. Lu wrote:
> 	* config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode
> 	for return mode.
> 	(ia64_expand_builtin): Set rmode to SImode for
> 	IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI,
> 	IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and
> 	IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode
> 	for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI.

Ok.

Please add dg markup and commit the test case as gcc.dg/ia64-sync-4.c.


r~


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