summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch')
-rw-r--r--meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch
new file mode 100644
index 000000000..eb68c9ce9
--- /dev/null
+++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch
@@ -0,0 +1,47 @@
1From c2adcca93a0075665a8195caad49b89785886e8e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Jan 2019 12:02:22 -0800
4Subject: [PATCH] burn.S: Add
5
6This is originally from
7https://hardwarebug.org/files/burn.S
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 burn.S | 26 ++++++++++++++++++++++++++
13 1 file changed, 26 insertions(+)
14 create mode 100644 burn.S
15
16diff --git a/burn.S b/burn.S
17new file mode 100644
18index 0000000..c372c87
19--- /dev/null
20+++ b/burn.S
21@@ -0,0 +1,26 @@
22+ .arch armv7-a
23+ .fpu neon
24+
25+ .text
26+
27+ .global main
28+ .type main, STT_FUNC
29+ .func main
30+main:
31+ bic sp, sp, #15
32+1:
33+ vld1.8 {q8}, [sp,:128]
34+ smuad r6, r4, r5
35+ veor q9, q0, q1
36+ add lr, r4, r5
37+ ldr ip, [sp]
38+ vext.8 q10, q3, q4, #1
39+ eor r5, r4, r5
40+ vadd.i32 q11, q0, q1
41+ smusd r6, r4, r5
42+ ldr r2, [sp]
43+ vext.8 q12, q1, q2, #3
44+ ssub8 lr, r4, r5
45+ vmul.u16 q13, q0, q4
46+ b 1b
47+.endfunc