2 * linux/arch/unicore32/include/asm/hwcap.h
4 * Code specific to PKUnity SoC and UniCore ISA
6 * Copyright (C) 2001-2010 GUAN Xue-tao
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
12 #ifndef __UNICORE_HWCAP_H__
13 #define __UNICORE_HWCAP_H__
19 #define HWCAP_UNICORE16 2
21 #define HWCAP_UNICORE_F64 8
22 #define HWCAP_TLS 0x80
24 #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
26 * This yields a mask that user programs can use to figure out what
27 * instruction set this cpu supports.
29 #define ELF_HWCAP (HWCAP_CMOV | HWCAP_UNICORE_F64)