openrisc: Add gcc machine instruction flag configuration
authorStafford Horne <shorne@gmail.com>
Sat, 22 Jan 2022 04:32:38 +0000 (13:32 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 23 May 2022 08:15:49 +0000 (17:15 +0900)
commit87e387acd8eba5021a8e5d6b54e0c5ef5c28ada2
tree5073239e1497fd507ca83012b847334b651a6411
parent635267b7a8f1746d72d6b23030863f8779618584
openrisc: Add gcc machine instruction flag configuration

OpenRISC GCC supports flags to enable the backend to output instructions
if they are supported by a target processor.  This patch adds
configuration flags to enable configuring these flags to tune the kernel
for a particular CPU configuration.

In the future we could also enable all of these flags by default and
provide instruction emulation in the kernel to make these choices easier
for users but this is what we provide for now.

Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/Kconfig
arch/openrisc/Makefile