diff options
author | Hongyu Wang <hongyu.wang@intel.com> | 2023-11-17 15:30:16 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2023-11-22 15:35:57 +0800 |
commit | bd17d00a4bdee34876cc97bdf9a1f2316e0a6790 (patch) | |
tree | 80519ea6208197df49cd44bf400721969a2c6e05 /gcc/expr.cc | |
parent | d13e59b86c5cbeec6135ada3f6dc983289cac610 (diff) | |
download | gcc-bd17d00a4bdee34876cc97bdf9a1f2316e0a6790.zip gcc-bd17d00a4bdee34876cc97bdf9a1f2316e0a6790.tar.gz gcc-bd17d00a4bdee34876cc97bdf9a1f2316e0a6790.tar.bz2 |
[APX PUSH2POP2] Adjust operand order for PUSH2POP2
The push2/pop2 operand order does not match the binutils implementation
for AT&T syntax that it will first push operands[2] then operands[1].
Correct it by reverse operand order for AT&T syntax.
gcc/ChangeLog:
* config/i386/i386.md (push2_di): Adjust operand order for AT&T
syntax.
(pop2_di): Likewise.
(push2p_di): Likewise.
(pop2p_di): Likewise.
gcc/testsuite/ChangeLog:
* gcc.target/i386/apx-push2pop2-1.c: Adjust output scan.
* gcc.target/i386/apx-push2pop2_force_drap-1.c: Likewise.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions