https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83636
Bug ID: 83636
Summary: libffi/mips/n32: don't .set mips4 for mips r6
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libffi
Assignee: unassigned at gcc dot gnu.org
Reporter: syq at debian dot org
Target Milestone: ---
https://github.com/libffi/libffi/pull/396
mips r6 drops some insn and changes encoding for some insn, so we cannot
.set mips4
#ifdef __GNUC__
.abicalls
#endif
+#if !defined(__mips_isa_rev) || (__mips_isa_rev < 6)
.set mips4
+#endif
.text
.align 2
.globl ffi_call_N32