[Bug target/65604] MIPS -fno-delayed-branch generates incorrect code with -mcheck-zero-division

2015-12-08 Thread azonenberg at drawersteak dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65604 --- Comment #2 from Andrew Zonenberg --- Yes, I am compiling for mips1. I'm targeting a size-optimized FPGA softcore that doesn't have support for the newer opcodes. Sounds like you've confirmed the bad code generation then?

[Bug target/65604] New: MIPS -fno-delayed-branch generates incorrect code with -mcheck-zero-division

2015-03-27 Thread azonenberg at drawersteak dot com
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: azonenberg at drawersteak dot com When compiling code that performs integer division on MIPS with -fno-delayed-branch and -mcheck-zero-division enabled, the generated code