1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development
John Ericson b9acfb4ecf treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile

(cherry picked from commit ba52ae5048)
2018-04-25 15:50:41 -04:00
..
arduino
beam-modules
bower-modules/generic
compilers treewide: isArm -> isAarch32 2018-04-25 15:50:41 -04:00
coq-modules
dotnet-modules/patches
eclipse/ecj
em-modules/generic
go-modules
guile-modules
haskell-modules treewide: isArm -> isAarch32 2018-04-25 15:50:41 -04:00
idris-modules
interpreters treewide: isArm -> isAarch32 2018-04-25 15:50:41 -04:00
java-modules
libraries treewide: isArm -> isAarch32 2018-04-25 15:50:41 -04:00
lisp-modules
lua-modules
misc Merge branch 'master' 2018-03-05 14:53:27 +01:00
mobile Merge branch 'master' 2018-03-05 14:53:27 +01:00
node-packages nodePackages_8_x.npm: init at 5.6.0 2018-03-01 18:21:49 +08:00
ocaml-modules Merge branch 'master' 2018-03-05 14:53:27 +01:00
perl-modules
pharo pharo: Tighten source and simplify meta.platforms 2018-03-12 18:55:41 -04:00
pure-modules
python-modules treewide: isArm -> isAarch32 2018-04-25 15:50:41 -04:00
qtcreator
r-modules Merge branch 'master' 2018-03-05 14:53:27 +01:00
ruby-modules buildRubyGem: Make testing easier 2018-03-03 23:31:00 -08:00
stm32/betaflight
tools treewide: isArm -> isAarch32 2018-04-25 15:50:41 -04:00
web Merge pull request #35354 from markus1189/insomnia 2018-03-05 09:58:24 +00:00