@@ -1432,8 +1432,10 @@ pub fn ipRegNum(arch: std.Target.Cpu.Arch) ?u16 {
1432
1432
.aarch64 , .aarch64_be = > 32 ,
1433
1433
.arm , .armeb , .thumb , .thumbeb = > 15 ,
1434
1434
.hexagon = > 76 ,
1435
- .loongarch32 , .loongarch64 = > 32 ,
1436
- .riscv32 , .riscv32be , .riscv64 , .riscv64be = > 32 ,
1435
+ .loongarch32 , .loongarch64 = > 64 ,
1436
+ .mips , .mipsel , .mips64 , .mips64el = > 66 ,
1437
+ .powerpc , .powerpcle , .powerpc64 , .powerpc64le = > 67 ,
1438
+ .riscv32 , .riscv32be , .riscv64 , .riscv64be = > 65 ,
1437
1439
.s390x = > 65 ,
1438
1440
.x86 = > 8 ,
1439
1441
.x86_64 = > 16 ,
@@ -1447,6 +1449,8 @@ pub fn fpRegNum(arch: std.Target.Cpu.Arch) u16 {
1447
1449
.arm , .armeb , .thumb , .thumbeb = > 11 ,
1448
1450
.hexagon = > 30 ,
1449
1451
.loongarch32 , .loongarch64 = > 22 ,
1452
+ .mips , .mipsel , .mips64 , .mips64el = > 30 ,
1453
+ .powerpc , .powerpcle , .powerpc64 , .powerpc64le = > 1 ,
1450
1454
.riscv32 , .riscv32be , .riscv64 , .riscv64be = > 8 ,
1451
1455
.s390x = > 11 ,
1452
1456
.x86 = > 5 ,
@@ -1461,6 +1465,8 @@ pub fn spRegNum(arch: std.Target.Cpu.Arch) u16 {
1461
1465
.arm , .armeb , .thumb , .thumbeb = > 13 ,
1462
1466
.hexagon = > 29 ,
1463
1467
.loongarch32 , .loongarch64 = > 3 ,
1468
+ .mips , .mipsel , .mips64 , .mips64el = > 29 ,
1469
+ .powerpc , .powerpcle , .powerpc64 , .powerpc64le = > 1 ,
1464
1470
.riscv32 , .riscv32be , .riscv64 , .riscv64be = > 2 ,
1465
1471
.s390x = > 15 ,
1466
1472
.x86 = > 4 ,
0 commit comments