Re: [PATCH] x86: Use SET operation in MOVDIRI and MOVDIR64B

2020-09-30 Thread Uros Bizjak via Gcc-patches
> gcc/ > > PR target/97184 > * config/i386/i386.md (UNSPECV_MOVDIRI): Renamed to ... > (UNSPEC_MOVDIRI): This. > (UNSPECV_MOVDIR64B): Renamed to ... > (UNSPEC_MOVDIR64B): This. > (movdiri): Use SET operation. > (@movdir64b_): Likewise. > > gcc/testsuite/ > > PR target/97184 > *

[PATCH] x86: Use SET operation in MOVDIRI and MOVDIR64B

2020-09-27 Thread H.J. Lu via Gcc-patches
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.