MIPS: Fix generation of Loongson-specific division and modulo instructions.
authorToma Tabacu <toma.tabacu@imgtec.com>
Wed, 18 Jan 2017 10:57:17 +0000 (10:57 +0000)
committerToma Tabacu <tomtab@gcc.gnu.org>
Wed, 18 Jan 2017 10:57:17 +0000 (10:57 +0000)
commitd5432112a747e8f885f216f6129c6f2e616a7bdd
treed07625f70f9465ba9e7eb3d3459c2beefeb8e5bf
parent01f9d481c5f6f37fcdab7212318f7a2e35591404
MIPS: Fix generation of Loongson-specific division and modulo instructions.

gcc

* config/mips/mips.h (ISA_HAS_DIV3): Remove unused macro.
(ISA_AVOID_DIV_HILO): New macro.
(ISA_HAS_DIV): Use new ISA_AVOID_DIV_HILO macro.
(ISA_HAS_DDIV): Likewise.

From-SVN: r244570
gcc/ChangeLog
gcc/config/mips/mips.h