mode_for_size request.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105469
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-10-16 Hans-Peter Nilsson <hp@axis.com>
+
+ * builtins.c (get_builtin_sync_mode): Make unlimited
+ mode_for_size request.
+
2005-10-15 Richard Henderson <rth@redhat.com>
* gimplify.c (gimplify_var_or_parm_decl): Split out from ...
static inline enum machine_mode
get_builtin_sync_mode (int fcode_diff)
{
- return mode_for_size (BITS_PER_UNIT << fcode_diff, MODE_INT, 1);
+ /* The size is not negotiable, so ask not to get BLKmode in return
+ if the target indicates that a smaller size would be better. */
+ return mode_for_size (BITS_PER_UNIT << fcode_diff, MODE_INT, 0);
}
/* Expand the __sync_xxx_and_fetch and __sync_fetch_and_xxx intrinsics.