root/arch/unicore32/include/asm/hwcap.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


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

/* [<][>][^][v][top][bottom][index][help] */