Add a new .cap pseudo function to the assembler that allows to check for
certain capabilities of the CPU or target system.
This commit is contained in:
@@ -38,6 +38,11 @@
|
||||
|
||||
|
||||
|
||||
/* common */
|
||||
#include "capability.h"
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Data */
|
||||
/*****************************************************************************/
|
||||
@@ -107,6 +112,9 @@ cpu_t FindCPU (const char* Name);
|
||||
** the given name is no valid target.
|
||||
*/
|
||||
|
||||
int CPUHasCap (capability_t Cap);
|
||||
/* Check if the current CPU has the given capability */
|
||||
|
||||
|
||||
|
||||
/* End of cpu.h */
|
||||
|
||||
Reference in New Issue
Block a user