summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/udivmod-1.c
Commit message (Collapse)AuthorAgeFilesLines
* Add -m8bit-idiv for x86.hjl2010-09-161-0/+31
gcc/ 2010-09-16 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386-protos.h (ix86_split_idivmod): New prototype. * config/i386/i386.c (predict_jump): Add prototype. (flag_opts): Add -m8bit-idiv. (ix86_split_idivmod): New. * config/i386/i386.md (UNSPEC_DIV_ALREADY_SPLIT): New. Add 2 splitters for SI/DI mode divide. (divmod<mode>4_1): New pattern. (udivmod<mode>4_1): Likewise. (testdi_ccno_1): Likewise. * config/i386/i386.opt (m8bit-idiv): New. * doc/invoke.texi: Document -m8bit-idiv. gcc/testsuite/ 2010-09-16 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/divmod-1.c: New. * gcc.target/i386/divmod-2.c: Likewise. * gcc.target/i386/divmod-3.c: Likewise. * gcc.target/i386/divmod-4.c: Likewise. * gcc.target/i386/divmod-4a.c: Likewise. * gcc.target/i386/divmod-5.c: Likewise. * gcc.target/i386/divmod-6.c: Likewise. * gcc.target/i386/divmod-7.c: Likewise. * gcc.target/i386/divmod-8.c: Likewise. * gcc.target/i386/udivmod-1.c: Likewise. * gcc.target/i386/udivmod-2.c: Likewise. * gcc.target/i386/udivmod-3.c: Likewise. * gcc.target/i386/udivmod-4.c: Likewise. * gcc.target/i386/udivmod-4a.c: Likewise. * gcc.target/i386/udivmod-5.c: Likewise. * gcc.target/i386/udivmod-6.c: Likewise. * gcc.target/i386/udivmod-7.c: Likewise. * gcc.target/i386/udivmod-8.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164346 138bc75d-0d04-0410-961f-82ee72b054a4