authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-06-23 17:32:58+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-20 04:56:56+02:00
log9939b116bf472ceb93192608393f3bfc14cde6df
tree97f3f9e9f57ea23040063a353929e0fa638eb77d
parentb7e48c6bcd99457f84f0043a3f4590a6ac1f4933
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Remove the `gnuf64` ABI specifier.

This was used for LoongArch64, where: * `gnuf64` -> `ilp32d` / `lp64d` (full hard float) * `gnuf32` -> `ilp32f` / `lp64f` (hard float for `f32` only) * `gnusf` -> `ilp32` / `lp64` (soft float) But Loongson eventually settled on just `gnu` for the first case since that's what most people will actually be targeting outside embedded scenarios. The `gnuf32` and `gnusf` specifiers remain in use.

4 files changed, 0 insertions(+), 4 deletions(-)

lib/compiler/aro/aro/target.zig-1
......@@ -737,7 +737,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
737737 .gnueabi => "gnueabi",
738738 .gnueabihf => "gnueabihf",
739739 .gnuf32 => "gnuf32",
740 .gnuf64 => "gnuf64",
741740 .gnusf => "gnusf",
742741 .gnux32 => "gnux32",
743742 .gnuilp32 => "gnuilp32",
lib/std/Target.zig-1
......@@ -628,7 +628,6 @@ pub const Abi = enum {
628628 gnueabi,
629629 gnueabihf,
630630 gnuf32,
631 gnuf64,
632631 gnusf,
633632 gnux32,
634633 gnuilp32,
lib/std/zig/LibCDirs.zig-1
......@@ -232,7 +232,6 @@ fn libCGenericName(target: std.Target) [:0]const u8 {
232232 .gnueabi,
233233 .gnueabihf,
234234 .gnuf32,
235 .gnuf64,
236235 .gnusf,
237236 .gnux32,
238237 .gnuilp32,
src/codegen/llvm.zig-1
......@@ -177,7 +177,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
177177 .gnueabi => "gnueabi",
178178 .gnueabihf => "gnueabihf",
179179 .gnuf32 => "gnuf32",
180 .gnuf64 => "gnuf64",
181180 .gnusf => "gnusf",
182181 .gnux32 => "gnux32",
183182 .gnuilp32 => "gnuilp32",