Oct 2020

2 commits
For ppc gcc, implement 64-bit compare_exchange and fetch_add with asm.
12 Oct 2020Noah Mischmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.1
LLM analysis, 100% surelanded as postedfrom patchset #41 of 1 reviewer saw the final version

The diff exactly matches the GCC 64-bit atomics patch in #4, replacing the __64BIT__ guard with SIZEOF_VOID_P >= 8 and removing the corresponding endif label in src/include/port/atomics/arch-ppc.h.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom explicitly reviewed both patches in #5, while noting that he lacked access to 64-bit PPC hardware to test this one.
Choose ppc compare_exchange constant path for more operand values.
12 Oct 2020Noah Mischmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #41 of 1 reviewer saw the final version

The commit preserves the signed casts in src/include/port/atomics/arch-ppc.h and all four boundary tests in src/test/regress/regress.c from #4. Its only additional code-file change removes an obsolete eight-line comment about GCC constant detection, as explained in #8.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom reviewed the patch, tested it on an Apple PPC machine, and inspected the generated assembly in #5; only comment removal followed.

Credits across 2 commits

Author
Noah MischLLM2
Committer
Noah Misch2

N LLM means N of the credits come from LLM analysis, not from commit trailers.