1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/unicore32/include/asm/hwcap.h
5 * Code specific to PKUnity SoC and UniCore ISA
7 * Copyright (C) 2001-2010 GUAN Xue-tao
9 #ifndef __UNICORE_HWCAP_H__
10 #define __UNICORE_HWCAP_H__
16 #define HWCAP_UNICORE16 2
18 #define HWCAP_UNICORE_F64 8
19 #define HWCAP_TLS 0x80
21 #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
23 * This yields a mask that user programs can use to figure out what
24 * instruction set this cpu supports.
26 #define ELF_HWCAP (HWCAP_CMOV | HWCAP_UNICORE_F64)