File: probe_gas_arm.S

package info (click to toggle)
atlas 3.10.3-1~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 38,560 kB
  • sloc: ansic: 486,833; fortran: 66,209; asm: 7,270; makefile: 1,442; sh: 683
file content (19 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define ATL_GAS_ARM
#include "atlas_asm.h"
#ifdef __ARM_ARCH_4T__
#error "Debian armel is only v4t, but ATLAS needs a more recent ISA"
#endif
#
# Linux ARM assembler for:
# int asm_probe(int i)
# RETURNS: i*3
#
.code   32
.text
.align  2
.globl  ATL_asmdecor(asm_probe)
.type   ATL_asmdecor(asm_probe), %function
ATL_asmdecor(asm_probe):
        add     r0, r0, r0, LSL #1
        bx      lr
.size ATL_asmdecor(asm_probe),.-ATL_asmdecor(asm_probe)