llvm.org GIT mirror llvm / 95f4d65
[mips] $s8 is an alias for $fp in all ABI's, not just N32/N64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204793 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Sanders 6 years ago
3 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
10171017 .Case("s7", 23)
10181018 .Case("k0", 26)
10191019 .Case("k1", 27)
1020 .Case("gp", 28)
10201021 .Case("sp", 29)
10211022 .Case("fp", 30)
1022 .Case("gp", 28)
1023 .Case("s8", 30)
10231024 .Case("ra", 31)
10241025 .Case("t0", 8)
10251026 .Case("t1", 9)
10471048 .Case("a7", 11)
10481049 .Case("kt0", 26)
10491050 .Case("kt1", 27)
1050 .Case("s8", 30)
10511051 .Default(-1);
10521052
10531053 warnIfAssemblerTemporary(CC);
3434 addiu $gp, $zero, 0 # CHECK: encoding: [0x24,0x1c,0x00,0x00]
3535 addiu $sp, $zero, 0 # CHECK: encoding: [0x24,0x1d,0x00,0x00]
3636 addiu $fp, $zero, 0 # CHECK: encoding: [0x24,0x1e,0x00,0x00]
37 addiu $sp, $zero, 0
37 addiu $s8, $zero, 0 # CHECK: encoding: [0x24,0x1e,0x00,0x00]
3838 addiu $ra, $zero, 0 # CHECK: encoding: [0x24,0x1f,0x00,0x00]
3434 daddiu $gp, $zero, 0 # CHECK: encoding: [0x64,0x1c,0x00,0x00]
3535 daddiu $sp, $zero, 0 # CHECK: encoding: [0x64,0x1d,0x00,0x00]
3636 daddiu $s8, $zero, 0 # CHECK: encoding: [0x64,0x1e,0x00,0x00]
37 daddiu $fp, $zero, 0 # CHECK: encoding: [0x64,0x1e,0x00,0x00]
3738 daddiu $ra, $zero, 0 # CHECK: encoding: [0x64,0x1f,0x00,0x00]