i386: Use code_for_ instead of gen_ for parameterized names more.
authorUros Bizjak <ubizjak@gmail.com>
Wed, 19 Aug 2020 15:14:13 +0000 (17:14 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 19 Aug 2020 15:14:55 +0000 (17:14 +0200)
commit4432066509441cb6ec3e6688a523f9946e7b5d21
tree8f22c4e7b5387864d56bf89b31e7fd99a70434e9
parent459f6f68a75fe88e7c8309ca8ad3244a532b0d8e
i386: Use code_for_ instead of gen_ for parameterized names more.

Some builtins are better expanded to patterns with
parametrized names via code_for_ than gen_ helpers.

No functional changes.

2020-08-19  Uroš Bizjak  <ubizjak@gmail.com>

gcc/ChangeLog:

* config/i386/i386-expand.c (ix86_expand_builtin)
[case IX86_BUILTIN_ENQCMD, case IX86_BUILTIN_ENQCMDS]:
Rewrite expansion to use code_for_enqcmd.
[case IX86_BUILTIN_WRSSD, case IX86_BUILTIN_WRSSQ]:
Rewrite expansion to use code_for_wrss.
[case IX86_BUILTIN_WRUSSD, case IX86_BUILTIN_WRUSSD]:
Rewrite expansion to use code_for_wrss.
gcc/config/i386/i386-expand.c