https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98495
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:f6dd35cf9300ae482038c26655b3cee3e72cefb1 commit r11-6484-gf6dd35cf9300ae482038c26655b3cee3e72cefb1 Author: H.J. Lu <hjl.to...@gmail.com> Date: Tue Jan 5 10:57:20 2021 -0800 x86: Use unsigned short to compute pextrw result Use unsigned short to compute the zero-extended pextrw result. PR target/98495 * gcc.target/i386/sse2-mmx-pextrw.c (compute_correct_result): Use unsigned short to compute pextrw result.