std.Target: Remove the r600 arch tag.

These are quite old GPUs, and it is unlikely that Zig will ever be able to
target them.

See: https://en.wikipedia.org/wiki/Radeon_HD_2000_series
This commit is contained in:
Alex Rønne Petersen 2024-07-21 14:04:52 +02:00
parent 9848623e62
commit c825b567b2
No known key found for this signature in database
8 changed files with 0 additions and 19 deletions

View file

@ -470,7 +470,6 @@ pub fn get32BitArchVariant(target: std.Target) ?std.Target {
.mipsel, .mipsel,
.powerpc, .powerpc,
.powerpcle, .powerpcle,
.r600,
.riscv32, .riscv32,
.sparc, .sparc,
.sparcel, .sparcel,
@ -527,7 +526,6 @@ pub fn get64BitArchVariant(target: std.Target) ?std.Target {
.lanai, .lanai,
.m68k, .m68k,
.msp430, .msp430,
.r600,
.shave, .shave,
.sparcel, .sparcel,
.spu_2, .spu_2,
@ -616,7 +614,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
.powerpcle => "powerpcle", .powerpcle => "powerpcle",
.powerpc64 => "powerpc64", .powerpc64 => "powerpc64",
.powerpc64le => "powerpc64le", .powerpc64le => "powerpc64le",
.r600 => "r600",
.amdgcn => "amdgcn", .amdgcn => "amdgcn",
.riscv32 => "riscv32", .riscv32 => "riscv32",
.riscv64 => "riscv64", .riscv64 => "riscv64",

View file

@ -994,7 +994,6 @@ pub const Cpu = struct {
powerpcle, powerpcle,
powerpc64, powerpc64,
powerpc64le, powerpc64le,
r600,
amdgcn, amdgcn,
riscv32, riscv32,
riscv64, riscv64,
@ -1146,7 +1145,6 @@ pub const Cpu = struct {
.mips => .MIPS, .mips => .MIPS,
.mipsel => .MIPS_RS3_LE, .mipsel => .MIPS_RS3_LE,
.powerpc, .powerpcle => .PPC, .powerpc, .powerpcle => .PPC,
.r600 => .NONE,
.riscv32 => .RISCV, .riscv32 => .RISCV,
.sparc => .SPARC, .sparc => .SPARC,
.sparcel => .SPARC, .sparcel => .SPARC,
@ -1208,7 +1206,6 @@ pub const Cpu = struct {
.mips => .Unknown, .mips => .Unknown,
.mipsel => .Unknown, .mipsel => .Unknown,
.powerpc, .powerpcle => .POWERPC, .powerpc, .powerpcle => .POWERPC,
.r600 => .Unknown,
.riscv32 => .RISCV32, .riscv32 => .RISCV32,
.sparc => .Unknown, .sparc => .Unknown,
.sparcel => .Unknown, .sparcel => .Unknown,
@ -1282,7 +1279,6 @@ pub const Cpu = struct {
.tcele, .tcele,
.powerpcle, .powerpcle,
.powerpc64le, .powerpc64le,
.r600,
.riscv32, .riscv32,
.riscv64, .riscv64,
.x86, .x86,
@ -1772,7 +1768,6 @@ pub const DynamicLinker = struct {
.hexagon, .hexagon,
.m68k, .m68k,
.msp430, .msp430,
.r600,
.amdgcn, .amdgcn,
.tce, .tce,
.tcele, .tcele,
@ -1874,7 +1869,6 @@ pub fn ptrBitWidth_cpu_abi(cpu: Cpu, abi: Abi) u16 {
.mipsel, .mipsel,
.powerpc, .powerpc,
.powerpcle, .powerpcle,
.r600,
.riscv32, .riscv32,
.sparcel, .sparcel,
.tce, .tce,
@ -2436,7 +2430,6 @@ pub fn c_type_alignment(target: Target, c_type: CType) u16 {
.lanai, .lanai,
.nvptx, .nvptx,
.nvptx64, .nvptx64,
.r600,
.s390x, .s390x,
.spir64, .spir64,
.spirv64, .spirv64,
@ -2560,7 +2553,6 @@ pub fn c_type_preferred_alignment(target: Target, c_type: CType) u16 {
.lanai, .lanai,
.nvptx, .nvptx,
.nvptx64, .nvptx64,
.r600,
.s390x, .s390x,
.spir64, .spir64,
.spirv64, .spirv64,

View file

@ -1599,7 +1599,6 @@ pub fn maxIntAlignment(target: std.Target, use_llvm: bool) u16 {
.mipsel, .mipsel,
.powerpc, .powerpc,
.powerpcle, .powerpcle,
.r600,
.amdgcn, .amdgcn,
.riscv32, .riscv32,
.sparc, .sparc,

View file

@ -3246,7 +3246,6 @@ pub fn atomicPtrAlignment(
.nvptx, .nvptx,
.powerpc, .powerpc,
.powerpcle, .powerpcle,
.r600,
.riscv32, .riscv32,
.sparc, .sparc,
.sparcel, .sparcel,

View file

@ -65,7 +65,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.powerpcle => "powerpcle", .powerpcle => "powerpcle",
.powerpc64 => "powerpc64", .powerpc64 => "powerpc64",
.powerpc64le => "powerpc64le", .powerpc64le => "powerpc64le",
.r600 => "r600",
.amdgcn => "amdgcn", .amdgcn => "amdgcn",
.riscv32 => "riscv32", .riscv32 => "riscv32",
.riscv64 => "riscv64", .riscv64 => "riscv64",
@ -287,7 +286,6 @@ pub fn targetArch(arch_tag: std.Target.Cpu.Arch) llvm.ArchType {
.powerpcle => .ppcle, .powerpcle => .ppcle,
.powerpc64 => .ppc64, .powerpc64 => .ppc64,
.powerpc64le => .ppc64le, .powerpc64le => .ppc64le,
.r600 => .r600,
.amdgcn => .amdgcn, .amdgcn => .amdgcn,
.riscv32 => .riscv32, .riscv32 => .riscv32,
.riscv64 => .riscv64, .riscv64 => .riscv64,
@ -12090,7 +12088,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
// LLVM backends that have no initialization functions. // LLVM backends that have no initialization functions.
.tce, .tce,
.tcele, .tcele,
.r600,
.amdil, .amdil,
.amdil64, .amdil64,
.hsail, .hsail,

View file

@ -135,7 +135,6 @@ pub fn hasLlvmSupport(target: std.Target, ofmt: std.Target.ObjectFormat) bool {
.powerpcle, .powerpcle,
.powerpc64, .powerpc64,
.powerpc64le, .powerpc64le,
.r600,
.amdgcn, .amdgcn,
.riscv32, .riscv32,
.riscv64, .riscv64,

View file

@ -94,7 +94,6 @@ test "alignment and size of structs with 128-bit fields" {
.mipsel, .mipsel,
.powerpc, .powerpc,
.powerpcle, .powerpcle,
.r600,
.amdgcn, .amdgcn,
.riscv32, .riscv32,
.sparc, .sparc,

View file

@ -76,7 +76,6 @@ const targets = [_]std.Target.Query{
.{ .cpu_arch = .powerpc64le, .os_tag = .linux, .abi = .gnu }, .{ .cpu_arch = .powerpc64le, .os_tag = .linux, .abi = .gnu },
.{ .cpu_arch = .powerpc64le, .os_tag = .linux, .abi = .musl }, .{ .cpu_arch = .powerpc64le, .os_tag = .linux, .abi = .musl },
.{ .cpu_arch = .powerpc64le, .os_tag = .linux, .abi = .none }, .{ .cpu_arch = .powerpc64le, .os_tag = .linux, .abi = .none },
//.{ .cpu_arch = .r600, .os_tag = .mesa3d, .abi = .none },
.{ .cpu_arch = .riscv32, .os_tag = .freestanding, .abi = .none }, .{ .cpu_arch = .riscv32, .os_tag = .freestanding, .abi = .none },
.{ .cpu_arch = .riscv32, .os_tag = .linux, .abi = .none }, .{ .cpu_arch = .riscv32, .os_tag = .linux, .abi = .none },
.{ .cpu_arch = .riscv64, .os_tag = .freestanding, .abi = .none }, .{ .cpu_arch = .riscv64, .os_tag = .freestanding, .abi = .none },