summaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/compiler.h
blob: 657cebe70acee61c1f5530ca5ba22ba856e20b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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 */