summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-01-19 17:03:22 +0000
committerGerrit Code Review <review@openstack.org>2018-01-19 17:03:22 +0000
commita4d56beae15f8f4ba46f9fcd04ebd682901f2d43 (patch)
tree519618bb1d9d7e086192872e8183de10cc2d0cad
parente0a3a6ef1e36fb8a62970050959d33676cf41bc1 (diff)
parentbbcc772a01b9f9e2c860794804a6906fa88d131a (diff)
Merge "Add CPU features for AArch64"HEADmaster
-rw-r--r--os_traits/hw/cpu/aarch64.py67
1 files changed, 67 insertions, 0 deletions
diff --git a/os_traits/hw/cpu/aarch64.py b/os_traits/hw/cpu/aarch64.py
new file mode 100644
index 0000000..56b473e
--- /dev/null
+++ b/os_traits/hw/cpu/aarch64.py
@@ -0,0 +1,67 @@
1# -*- coding: utf-8 -*-
2# Copyright 2017 Arm Limited.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15
16
17TRAITS = [
18 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
19 # linux.git/commit/?id=9703d9d7f
20 'FP',
21 'ASIMD',
22 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
23 # linux.git/commit/?id=46efe547a
24 'EVTSTRM',
25 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
26 # linux.git/commit/?id=4bff28ccd
27 'AES',
28 'PMULL',
29 'SHA1',
30 'SHA2',
31 'CRC32',
32 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
33 # linux.git/commit/?id=bf5006184
34 'FPHP',
35 'ASIMDHP',
36 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
37 # linux.git/commit/?id=f92f5ce01
38 'ASIMDRDM',
39 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
40 # linux.git/commit/?id=40a1db243
41 'ATOMICS',
42 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
43 # linux.git/commit/?id=c8c3798d2
44 'JSCVT',
45 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
46 # linux.git/commit/?id=cb567e79f
47 'FCMA',
48 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
49 # linux.git/commit/?id=c651aae5a
50 'LRCPC',
51 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
52 # linux.git/commit/?id=7aac405eb
53 'DCPOP',
54 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
55 # linux.git/commit/?id=f5e035f86
56 'SHA3',
57 'SM3',
58 'SM4',
59 'ASIMDDP',
60 'SHA512',
61 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
62 # linux.git/commit/?id=43994d824
63 'SVE',
64 # ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
65 # linux.git/commit/?id=77c97b4ee
66 'CPUID',
67]