[RFC] Prevent the scheduler from moving prefetch instructions when expanding __builtin_prefetch [PR 116713]

2024-09-26 Thread Pietro Monteiro
The prefetch instruction that is emitted by __builtin_prefetch is re-ordered on GCC, but not on clang[0]. GCC's behavior is surprising because when using the builtin you want the instruction to be placed at the exact point where you put it. Moving it around, specially across load/stores, may end

[PATCH] SH: Document extended asm operand modifers

2024-09-20 Thread Pietro Monteiro
From: Pietro Monteiro SH: Document extended asm operand modifers gcc/ChangeLog: * doc/extend.texi (SH Operand Modifiers): New. Signed-off-by: Pietro Monteiro --- Tested by running "make info pdf html" and looking at the pdf and html output. I used the comment on &

[PATCH] configury: replace autoconf obsolete macros [PR/103459]

2025-05-21 Thread Pietro Monteiro
ff-by: Pietro Monteiro --- c++tools/configure | 1 - c++tools/configure.ac| 2 +- config/acx.m4| 11 ++-- config/asmcfi.m4 | 8 +-- config/bitfields.m4 | 10 ++-- config/cet.m4| 18 --- config/codeset.m4

Re: [PATCH] configury: replace autoconf obsolete macros [PR/103459]

2025-06-13 Thread Pietro Monteiro
On Fri, Jun 13, 2025, at 2:02 PM, Joseph Myers wrote: > On Wed, 21 May 2025, Pietro Monteiro wrote: > >> lto-plugin/ChangeLog: >> >> * configure: Regenerate. >> * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_SYSTEM. > > That ChangeLo

PING: [PATCH] configury: replace autoconf obsolete macros [PR/103459]

2025-05-28 Thread Pietro Monteiro
On Wed, May 21, 2025, at 8:59 PM, Pietro Monteiro wrote: > Autoreconf -Wall complains about obsolete macros, so replace them according to > the autoconf documentation[0]. > > This patch doesn't fully fix all warnings because I focused on doing simple > fixes and keepin

[PATCH] config: Update obsolete macro in pkg.m4

2025-05-30 Thread Pietro Monteiro
://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html#index-AC_005fTRY_005fLINK-2207 config/ChangeLog: * pkg.m4 (PKG_CHECK_MODULES): Replace AC_TRY_LINK with AC_LINK_IFELSE. Signed-off-by: Pietro Monteiro --- config/pkg.m4 | 2 +- 1 file changed, 1 insertion

Re: [PATCH] defaults.h: Default MAX_FIXED_MODE_SIZE to MAX (BITS_PER_WORD * 2, 64)

2025-07-18 Thread Pietro Monteiro
On Fri, Jul 18, 2025, at 9:45 AM, Hans-Peter Nilsson wrote: > From: Hans-Peter Nilsson > > This has an effect only for MMIX and BPF. All other targets are > either 32-bits-or-less BITS_PER_WORD (and will now get 64 just > by a more obvious expression), or they don't use the default > MAX_FIXED_MO

[PATCH] mmix: Define MAX_FIXED_MODE_SIZE [PR120935]

2025-07-03 Thread Pietro Monteiro
/pr116480-1.c -O0 (test for excess errors) gcc.dg/torture/pr116480-1.c -O1 (test for excess errors) gcc/ChangeLog: PR target/120935 * config/mmix/mmix.h (MAX_FIXED_MODE_SIZE): Define. Signed-off-by: Pietro Monteiro --- gcc/config/mmix/mmix.h | 4 1 file changed, 4 insertions

[PATCH v2] configury: replace autoconf obsolete macros [PR103459]

2025-07-01 Thread Pietro Monteiro
ff-by: Pietro Monteiro --- c++tools/configure | 1 - c++tools/configure.ac| 2 +- config/acx.m4| 11 ++-- config/asmcfi.m4 | 7 +-- config/bitfields.m4 | 10 ++-- config/cet.m4| 18 --- config/codeset.m4

Re: [PATCH] configury: replace autoconf obsolete macros [PR/103459]

2025-07-01 Thread Pietro Monteiro
On Fri, Jun 13, 2025, at 5:01 PM, Joseph Myers wrote: > On Fri, 13 Jun 2025, Pietro Monteiro wrote: > >> > Adding this \ at end of file looks suspect. >> > >> > OK with that ChangeLog entry fixed and the stray \ at end of file removed >> > (assuming the s