HomePhabricator

[mips][FastISel] Implement srem/urem and sdiv/udiv instructions.

Authored by Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> on Jun 1 2015, 9:17 AM.

Description

[mips][FastISel] Implement srem/urem and sdiv/udiv instructions.

Summary: Implement the LLVM assembly urem/srem and sdiv/udiv instructions in MIPS FastISel.

Based on a patch by Reed Kotler.

Test Plan:
srem1.ll
div1.ll
test-suite at O0/O2 for mips32 r1/r2

Reviewers: dsanders, rkotler

Subscribers: llvm-commits, rfuhler

Differential Revision: http://reviews.llvm.org/D7028

llvm-svn: 238757

Event Timeline

Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> committed rG8fcb3986d016: [mips][FastISel] Implement srem/urem and sdiv/udiv instructions. (authored by Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>).Jun 1 2015, 9:17 AM