]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix register count when not splitting Complex IEEE 128-bit args.
authorPat Haugen <pthaugen@linux.ibm.com>
Tue, 17 May 2022 20:53:24 +0000 (15:53 -0500)
committerPat Haugen <pthaugen@linux.ibm.com>
Tue, 17 May 2022 20:53:24 +0000 (15:53 -0500)
commit2ee68beee709e48fce85b8892ff9985acc6a91a8
tree34bb3341dddd69eaf31d8d59ded8e57685b61719
parent47554478a13f64bff1ee4b9bb0319ae63d42ca52
Fix register count when not splitting Complex IEEE 128-bit args.

For ABI_V4, we do not split complex args. This created a problem because
even though an arg would be passed in two VSX regs, we were only advancing the
function arg counter by one VSX register. Fixed with this patch.

PR target/99685

gcc/
* config/rs6000/rs6000-call.cc (rs6000_function_arg_advance_1): Bump
register count when not splitting IEEE 128-bit Complex.
gcc/config/rs6000/rs6000-call.cc