This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix sync builtin expansion and i386 pattern
Michael Matz <matz@suse.de> writes:
> * builtins.c (expand_builtin_sync_operation,
> expand_builtin_compare_and_swap,
> expand_builtin_lock_test_and_set): Care for extending CONST_INTs
> correctly.
>
> * config/i386/sync.md (sync_double_compare_and_swapdi_pic,
> sync_double_compare_and_swap_ccdi_pic): Use "SD" as constraint
> for operand 3.
This is OK for mainline. It's OK for 4.1 and 4.2 if it is a
regression (I've lost track). If it's not a regression, check with
Mark on the backport.
Thanks.
Ian