Path: blob/master/arch/unicore32/include/asm/hwcap.h
10818 views
/*1* linux/arch/unicore32/include/asm/hwcap.h2*3* Code specific to PKUnity SoC and UniCore ISA4*5* Copyright (C) 2001-2010 GUAN Xue-tao6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/11#ifndef __UNICORE_HWCAP_H__12#define __UNICORE_HWCAP_H__1314/*15* HWCAP flags16*/17#define HWCAP_MSP 118#define HWCAP_UNICORE16 219#define HWCAP_CMOV 420#define HWCAP_UNICORE_F64 821#define HWCAP_TLS 0x802223#if defined(__KERNEL__) && !defined(__ASSEMBLY__)24/*25* This yields a mask that user programs can use to figure out what26* instruction set this cpu supports.27*/28#define ELF_HWCAP (HWCAP_CMOV | HWCAP_UNICORE_F64)29#endif3031#endif323334