Compile octeon kernels with -march=mips64r2
authorvisa <visa@openbsd.org>
Mon, 18 Jul 2022 12:48:35 +0000 (12:48 +0000)
committervisa <visa@openbsd.org>
Mon, 18 Jul 2022 12:48:35 +0000 (12:48 +0000)
commit926ee01c6d46ca1f3456f281700fde02c4b7875c
tree73f1eb5c91c4f98d8fa6e14f8cd719353a7af187
parent2a1c6339970d64f3f3b00b84d009088cc3824c94
Compile octeon kernels with -march=mips64r2

Even though -march=octeon seems to work, avoid it for now. It is
not entirely certain that the compiler will not use cnMIPS special
registers accidentally in normal kernel code.

Discussed with and OK miod@
sys/arch/octeon/conf/Makefile.octeon