repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git]
/
arch
/
h8300
/
lib
/
abs.S
blob
6e1a4ed3af53369871ac530a282953bea89c20d0
1
;;; SPDX-License-Identifier: GPL-2.0
2
;;; abs.S
3
4
#include <asm/linkage.h>
5
6
#if defined(CONFIG_CPU_H8300H)
7
.h8300h
8
#endif
9
#if defined(CONFIG_CPU_H8S)
10
.h8300s
11
#endif
12
.text
13
.global _abs
14
15
;;; int abs(int n)
16
_abs:
17
mov.l er0,er0
18
bpl 1f
19
neg.l er0
20
1:
21
rts