summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arc/asm.h
blob: f98eb239fe15c80e4f7faa1adf8a7ee509b20310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (C) 2022, Synopsys, Inc. (www.synopsys.com)
 *
 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
 */

#ifndef _ARC_ASM_H
#define _ARC_ASM_H


.macro PUSHR reg
	push	\reg
.endm

.macro PUSHR_S reg
	push_s	\reg
.endm

.macro POPR reg
	pop	\reg
.endm

.macro POPR_S reg
	pop_s	\reg
.endm


#endif /* _ARC_ASM_H  */