Merge tag 'for-linus' of https://github.com/openrisc/linux
[linux-2.6-microblaze.git] / arch / openrisc / Kconfig
index 99f0e4a..e814df4 100644 (file)
@@ -113,6 +113,59 @@ config OPENRISC_HAVE_INST_DIV
        default y
        help
          Select this if your implementation has a hardware divide instruction
+
+config OPENRISC_HAVE_INST_CMOV
+       bool "Have instruction l.cmov for conditional move"
+       default n
+       help
+         This config enables gcc to generate l.cmov instructions when compiling
+         the kernel which in general will improve performance and reduce the
+         binary size.
+
+         Select this if your implementation has support for the Class II
+         l.cmov conistional move instruction.
+
+         Say N if you are unsure.
+
+config OPENRISC_HAVE_INST_ROR
+       bool "Have instruction l.ror for rotate right"
+       default n
+       help
+         This config enables gcc to generate l.ror instructions when compiling
+         the kernel which in general will improve performance and reduce the
+         binary size.
+
+         Select this if your implementation has support for the Class II
+         l.ror rotate right instruction.
+
+         Say N if you are unsure.
+
+config OPENRISC_HAVE_INST_RORI
+       bool "Have instruction l.rori for rotate right with immediate"
+       default n
+       help
+         This config enables gcc to generate l.rori instructions when compiling
+         the kernel which in general will improve performance and reduce the
+         binary size.
+
+         Select this if your implementation has support for the Class II
+         l.rori rotate right with immediate instruction.
+
+         Say N if you are unsure.
+
+config OPENRISC_HAVE_INST_SEXT
+       bool "Have instructions l.ext* for sign extension"
+       default n
+       help
+         This config enables gcc to generate l.ext* instructions when compiling
+         the kernel which in general will improve performance and reduce the
+         binary size.
+
+         Select this if your implementation has support for the Class II
+         l.exths, l.extbs, l.exthz and l.extbz size extend instructions.
+
+         Say N if you are unsure.
+
 endmenu
 
 config NR_CPUS