aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.def
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-09-23 12:11:45 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-09-30 05:34:37 -0700
commit46183c96d2aea8181efb6bc3cfdb221987fe002d (patch)
tree1e4fce32da5981a4c7bf6e62dcb6167563d9b80e /gcc/builtins.def
parent4c0eb14bc8553d6e97f1cf70276c6a4fa67b7c38 (diff)
downloadgcc-46183c96d2aea8181efb6bc3cfdb221987fe002d.zip
gcc-46183c96d2aea8181efb6bc3cfdb221987fe002d.tar.gz
gcc-46183c96d2aea8181efb6bc3cfdb221987fe002d.tar.bz2
x86: Use SET operation in MOVDIRI and MOVDIR64B
Since MOVDIRI and MOVDIR64B write to memory, similar to UNSPEC_MOVNT, use SET operation in MOVDIRI and MOVDIR64B patterns with UNSPEC instead of UNSPECV. gcc/ PR target/97184 * config/i386/i386.md (UNSPECV_MOVDIRI): Renamed to ... (UNSPEC_MOVDIRI): This. (UNSPECV_MOVDIR64B): Renamed to ... (UNSPEC_MOVDIR64B): This. (movdiri<mode>): Use SET operation. (@movdir64b_<mode>): Likewise. gcc/testsuite/ PR target/97184 * gcc.target/i386/movdir64b.c: New test. * gcc.target/i386/movdiri32.c: Likewise. * gcc.target/i386/movdiri64.c: Likewise. * lib/target-supports.exp (check_effective_target_movdir): New.
Diffstat (limited to 'gcc/builtins.def')
0 files changed, 0 insertions, 0 deletions