Landing: 1da58c266672

Project / Subsystem

gcc / rs6000

Date

2026-09-09

Author

Manjunath S Matti

Commit

1da58c266672702c7750759d69189bd0fd750096

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
rs6000
patch_id
—
commit_hash
1da58c266672702c7750759d69189bd0fd750096
source_type
github
headline
rs6000: Fix mma-double-test.c on big endian
tldr
Corrects a test case for PowerPC MMA instructions on big-endian systems.
author
Manjunath S Matti
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • powerpc
  • • testing
  • • endianness
discussion_id_link
github:gcc-mirror/gcc#126866
bugzilla_pr
—
date
2026-09-09T00:00:00.000Z

The mma-double-test.c test case for GCC’s rs6000 backend failed on big-endian PowerPC systems due to an incorrect order of arguments passed to the __builtin_mma_assemble_pair intrinsic. This commit fixes the test by swapping the vector arguments when running in big-endian mode, ensuring the test accurately reflects the behavior of matrix multiply-accumulate operations on that architecture.