Add some other common headers for basic LoongArch support. Reviewed-by: WANG Xuerui <git@xen0n.name> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
16 lines
419 B
C
16 lines
419 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
*/
|
|
#ifndef _ASM_COMPILER_H
|
|
#define _ASM_COMPILER_H
|
|
|
|
#define GCC_OFF_SMALL_ASM() "ZC"
|
|
|
|
#define LOONGARCH_ISA_LEVEL "loongarch"
|
|
#define LOONGARCH_ISA_ARCH_LEVEL "arch=loongarch"
|
|
#define LOONGARCH_ISA_LEVEL_RAW loongarch
|
|
#define LOONGARCH_ISA_ARCH_LEVEL_RAW LOONGARCH_ISA_LEVEL_RAW
|
|
|
|
#endif /* _ASM_COMPILER_H */
|