RFR: 8343211: Compile error: redefinition of 'Assembler::evmovdquw(XMMRegister,KRegister,XMMRegister,bool,int)'

SendaoYan syan at openjdk.org
Tue Oct 29 17:04:37 UTC 2024


Hi all,
On linux-x64 gcc generate compile error: `src/hotspot/cpu/x86/assembler_x86.cpp:3646:6: error: redefinition of 'void Assembler::evmovdquw(XMMRegister, KRegister, XMMRegister, bool, int)'` after [JDK-8341527](https://bugs.openjdk.org/browse/JDK-8341527) and [JDK-8338021](https://bugs.openjdk.org/browse/JDK-8338021).
The both PRs add the same C++ function `void Assembler::evmovdquw(XMMRegister, KRegister, XMMRegister, bool, int)`.
I think the newly added function can be merged to one.
I choose the one added by [JDK-8341527](https://bugs.openjdk.org/browse/JDK-8341527). And I verify the releated tests of [JDK-8341527](https://bugs.openjdk.org/browse/JDK-8341527), after this PR the releated tests of [JDK-8341527](https://bugs.openjdk.org/browse/JDK-8341527) run passed.

Additonal testing:

- [x] linux x64 build with release/fastdebug/slowdebug configure
- [ ] jtreg tests(include tier1/2/3 etc.) on linux x64 with release build

-------------

Commit messages:
 - 8343211: Compile error: redefinition of 'Assembler::evmovdquw(XMMRegister,KRegister,XMMRegister,bool,int)'

Changes: https://git.openjdk.org/jdk/pull/21768/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21768&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343211
  Stats: 13 lines in 2 files changed: 0 ins; 12 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21768.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21768/head:pull/21768

PR: https://git.openjdk.org/jdk/pull/21768


More information about the hotspot-compiler-dev mailing list