Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (C) 2018 MIPS Tech, LLC
0004  * Author: Matt Redfearn <matt.redfearn@mips.com>
0005  */
0006 
0007 #ifndef __MIPS_ASM_ISA_REV_H__
0008 #define __MIPS_ASM_ISA_REV_H__
0009 
0010 /*
0011  * The ISA revision level. This is 0 for MIPS I to V and N for
0012  * MIPS{32,64}rN.
0013  */
0014 
0015 /* If the compiler has defined __mips_isa_rev, believe it. */
0016 #ifdef __mips_isa_rev
0017 #define MIPS_ISA_REV __mips_isa_rev
0018 #else
0019 /* The compiler hasn't defined the isa rev so assume it's MIPS I - V (0) */
0020 #define MIPS_ISA_REV 0
0021 #endif
0022 
0023 
0024 #endif /* __MIPS_ASM_ISA_REV_H__ */