Andrew Kelley 84f1893c18
remove the concept of "sub-architecture"
in favor of CPU features. Also rearrange the `std.Target`
data structure.

 * note: `@import("builtin")` was already deprecated in favor of
   `@import("std").builtin`.
 * `std.builtin.arch` is now deprecated in favor of
   `std.builtin.cpu.arch`.
 * `std.Target.CpuFeatures.Cpu` is now `std.Target.Cpu.Model`.
 * `std.Target.CpuFeatures` is now `std.Target.Cpu`.
 * `std.Target` no longer has an `arch` field. Instead it has a
   `cpu` field, which has `arch`, `model`, and `features`.
 * `std.Target` no longer has a `cpu_features` field.
 * `std.Target.Arch` is moved to `std.Target.Cpu.Arch` and
   it is an enum instead of a tagged union.
 * `std.Target.parseOs` is moved to `std.Target.Os.parse`.
 * `std.Target.parseAbi` is moved to `std.Target.Abi.parse`.
 * `std.Target.parseArchSub` is only for arch now and moved
    to `std.Target.Cpu.Arch.parse`.
 * `std.Target.parse` is improved to accept CPU name and features.
 * `std.Target.Arch.getBaselineCpuFeatures` is moved to
   `std.Target.Cpu.baseline`.
 * `std.Target.allCpus` is renamed to `std.Target.allCpuModels`.
 * `std.Target.defaultAbi` is moved to `std.Target.Abi.default`.
 * Significant cleanup of aarch64 and arm CPU features, resulting in
   the needed bit count for cpu feature set going from 174 to 138.
 * Add `std.Target.Cpu.Feature.Set.addFeatureSet` for merging
   feature sets together.

`-target-feature` and `-target-cpu` are removed in favor of
`-mcpu`, to conform to established conventions, and it gains
additional power to support cpu features. The syntax is:
-mcpu=name+on1+on2-off1-off2

closes #4261
2020-02-19 21:30:36 -05:00
..
2020-02-14 18:57:57 -05:00
2020-02-06 00:21:26 +11:00
2020-01-29 17:38:42 -06:00
2020-02-16 17:10:43 -05:00
2020-02-16 13:25:30 -05:00
2020-02-01 11:32:53 +01:00
2020-01-30 00:27:44 -06:00
2020-02-14 19:15:09 +11:00
2020-02-14 19:15:09 +11:00
2020-02-14 09:35:38 -05:00
2020-02-14 19:15:09 +11:00
2019-11-08 15:57:24 -05:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2020-01-29 22:22:01 -06:00
2020-02-16 13:25:30 -05:00
2019-11-29 21:55:27 -05:00
2019-09-25 23:35:41 -04:00
2020-02-16 13:25:30 -05:00
2020-02-13 16:13:53 -05:00
2019-10-11 18:13:24 -04:00
2019-09-25 23:35:41 -04:00
2020-02-18 16:48:26 -05:00
2020-02-16 19:53:53 +01:00
2019-11-12 17:55:54 +02:00
2019-09-25 23:35:41 -04:00
2020-01-14 13:06:46 -05:00
2020-02-16 13:25:30 -05:00
2020-02-18 15:34:13 -05:00
2020-01-31 22:33:17 +11:00
2020-02-08 01:38:01 -05:00
2020-02-17 15:23:59 -05:00
2020-02-06 00:16:00 +11:00
2020-01-19 20:54:04 -05:00
2020-02-16 13:25:30 -05:00