ClangBuiltLinux / linux

Linux kernel source tree
Other
241 stars 14 forks source link

mips32 arch/mips/crypto/chacha-core.S:264:118: error: unknown instruction, did you mean: rol, rotr? #1537

Open emojifreak opened 2 years ago

emojifreak commented 2 years ago

mips 32bit little endian build fails as below. It seems that LLVM_IAS does not accept rotl while GNU as accepts it.

  AS [M]  arch/mips/crypto/chacha-core.o
arch/mips/crypto/chacha-core.S:264:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $s5, $t0; xor $s4, $t1; xor $s3, $t2; xor $s2, $t3; rotl $s5, 16; rotl $s4, 16; rotl $s3, 16; rotl $s2, 16;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:264:132: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $s5, $t0; xor $s4, $t1; xor $s3, $t2; xor $s2, $t3; rotl $s5, 16; rotl $s4, 16; rotl $s3, 16; rotl $s2, 16;;
                                                                                                                                   ^
arch/mips/crypto/chacha-core.S:264:146: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $s5, $t0; xor $s4, $t1; xor $s3, $t2; xor $s2, $t3; rotl $s5, 16; rotl $s4, 16; rotl $s3, 16; rotl $s2, 16;;
                                                                                                                                                 ^
arch/mips/crypto/chacha-core.S:264:160: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $s5, $t0; xor $s4, $t1; xor $s3, $t2; xor $s2, $t3; rotl $s5, 16; rotl $s4, 16; rotl $s3, 16; rotl $s2, 16;;
                                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:265:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $s5; addu $t9, $s4; addu $v1, $s3; addu $s6, $s2; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 12; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:265:132: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $s5; addu $t9, $s4; addu $v1, $s3; addu $s6, $s2; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 12; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12;;
                                                                                                                                   ^
arch/mips/crypto/chacha-core.S:265:146: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $s5; addu $t9, $s4; addu $v1, $s3; addu $s6, $s2; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 12; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12;;
                                                                                                                                                 ^
arch/mips/crypto/chacha-core.S:265:160: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $s5; addu $t9, $s4; addu $v1, $s3; addu $s6, $s2; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 12; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12;;
                                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:266:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $s5, $t0; xor $s4, $t1; xor $s3, $t2; xor $s2, $t3; rotl $s5, 8; rotl $s4, 8; rotl $s3, 8; rotl $s2, 8;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:266:131: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $s5, $t0; xor $s4, $t1; xor $s3, $t2; xor $s2, $t3; rotl $s5, 8; rotl $s4, 8; rotl $s3, 8; rotl $s2, 8;;
                                                                                                                                  ^
arch/mips/crypto/chacha-core.S:266:144: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $s5, $t0; xor $s4, $t1; xor $s3, $t2; xor $s2, $t3; rotl $s5, 8; rotl $s4, 8; rotl $s3, 8; rotl $s2, 8;;
                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:266:157: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $s5, $t0; xor $s4, $t1; xor $s3, $t2; xor $s2, $t3; rotl $s5, 8; rotl $s4, 8; rotl $s3, 8; rotl $s2, 8;;
                                                                                                                                                            ^
arch/mips/crypto/chacha-core.S:267:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $s5; addu $t9, $s4; addu $v1, $s3; addu $s6, $s2; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 7; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:267:131: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $s5; addu $t9, $s4; addu $v1, $s3; addu $s6, $s2; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 7; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7;;
                                                                                                                                  ^
arch/mips/crypto/chacha-core.S:267:144: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $s5; addu $t9, $s4; addu $v1, $s3; addu $s6, $s2; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 7; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7;;
                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:267:157: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $s5; addu $t9, $s4; addu $v1, $s3; addu $s6, $s2; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 7; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7;;
                                                                                                                                                            ^
arch/mips/crypto/chacha-core.S:268:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $s2, $t0; xor $s5, $t1; xor $s4, $t2; xor $s3, $t3; rotl $s2, 16; rotl $s5, 16; rotl $s4, 16; rotl $s3, 16;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:268:132: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $s2, $t0; xor $s5, $t1; xor $s4, $t2; xor $s3, $t3; rotl $s2, 16; rotl $s5, 16; rotl $s4, 16; rotl $s3, 16;;
                                                                                                                                   ^
arch/mips/crypto/chacha-core.S:268:146: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $s2, $t0; xor $s5, $t1; xor $s4, $t2; xor $s3, $t3; rotl $s2, 16; rotl $s5, 16; rotl $s4, 16; rotl $s3, 16;;
                                                                                                                                                 ^
arch/mips/crypto/chacha-core.S:268:160: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $s2, $t0; xor $s5, $t1; xor $s4, $t2; xor $s3, $t3; rotl $s2, 16; rotl $s5, 16; rotl $s4, 16; rotl $s3, 16;;
                                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:269:118: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $s2; addu $s6, $s5; addu $t8, $s4; addu $t9, $s3; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12; rotl $t4, 12;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:269:132: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $s2; addu $s6, $s5; addu $t8, $s4; addu $t9, $s3; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12; rotl $t4, 12;;
                                                                                                                                   ^
arch/mips/crypto/chacha-core.S:269:146: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $s2; addu $s6, $s5; addu $t8, $s4; addu $t9, $s3; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12; rotl $t4, 12;;
                                                                                                                                                 ^
arch/mips/crypto/chacha-core.S:269:160: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $s2; addu $s6, $s5; addu $t8, $s4; addu $t9, $s3; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12; rotl $t4, 12;;
                                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:270:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $s2, $t0; xor $s5, $t1; xor $s4, $t2; xor $s3, $t3; rotl $s2, 8; rotl $s5, 8; rotl $s4, 8; rotl $s3, 8;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:270:131: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $s2, $t0; xor $s5, $t1; xor $s4, $t2; xor $s3, $t3; rotl $s2, 8; rotl $s5, 8; rotl $s4, 8; rotl $s3, 8;;
                                                                                                                                  ^
arch/mips/crypto/chacha-core.S:270:144: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $s2, $t0; xor $s5, $t1; xor $s4, $t2; xor $s3, $t3; rotl $s2, 8; rotl $s5, 8; rotl $s4, 8; rotl $s3, 8;;
                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:270:157: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $s2, $t0; xor $s5, $t1; xor $s4, $t2; xor $s3, $t3; rotl $s2, 8; rotl $s5, 8; rotl $s4, 8; rotl $s3, 8;;
                                                                                                                                                            ^
arch/mips/crypto/chacha-core.S:271:118: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $s2; addu $s6, $s5; addu $t8, $s4; addu $t9, $s3; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7; rotl $t4, 7;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:271:131: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $s2; addu $s6, $s5; addu $t8, $s4; addu $t9, $s3; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7; rotl $t4, 7;;
                                                                                                                                  ^
arch/mips/crypto/chacha-core.S:271:144: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $s2; addu $s6, $s5; addu $t8, $s4; addu $t9, $s3; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7; rotl $t4, 7;;
                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:271:157: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $s2; addu $s6, $s5; addu $t8, $s4; addu $t9, $s3; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7; rotl $t4, 7;;
                                                                                                                                                            ^
arch/mips/crypto/chacha-core.S:472:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $a3, $t0; xor $at, $t1; xor $v0, $t2; xor $a0, $t3; rotl $a3, 16; rotl $at, 16; rotl $v0, 16; rotl $a0, 16;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:472:132: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $a3, $t0; xor $at, $t1; xor $v0, $t2; xor $a0, $t3; rotl $a3, 16; rotl $at, 16; rotl $v0, 16; rotl $a0, 16;;
                                                                                                                                   ^
arch/mips/crypto/chacha-core.S:472:146: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $a3, $t0; xor $at, $t1; xor $v0, $t2; xor $a0, $t3; rotl $a3, 16; rotl $at, 16; rotl $v0, 16; rotl $a0, 16;;
                                                                                                                                                 ^
arch/mips/crypto/chacha-core.S:472:160: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $a3, $t0; xor $at, $t1; xor $v0, $t2; xor $a0, $t3; rotl $a3, 16; rotl $at, 16; rotl $v0, 16; rotl $a0, 16;;
                                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:473:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $a3; addu $t9, $at; addu $v1, $v0; addu $s6, $a0; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 12; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:473:132: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $a3; addu $t9, $at; addu $v1, $v0; addu $s6, $a0; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 12; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12;;
                                                                                                                                   ^
arch/mips/crypto/chacha-core.S:473:146: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $a3; addu $t9, $at; addu $v1, $v0; addu $s6, $a0; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 12; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12;;
                                                                                                                                                 ^
arch/mips/crypto/chacha-core.S:473:160: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $a3; addu $t9, $at; addu $v1, $v0; addu $s6, $a0; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 12; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12;;
                                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:474:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $a3, $t0; xor $at, $t1; xor $v0, $t2; xor $a0, $t3; rotl $a3, 8; rotl $at, 8; rotl $v0, 8; rotl $a0, 8;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:474:131: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $a3, $t0; xor $at, $t1; xor $v0, $t2; xor $a0, $t3; rotl $a3, 8; rotl $at, 8; rotl $v0, 8; rotl $a0, 8;;
                                                                                                                                  ^
arch/mips/crypto/chacha-core.S:474:144: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $a3, $t0; xor $at, $t1; xor $v0, $t2; xor $a0, $t3; rotl $a3, 8; rotl $at, 8; rotl $v0, 8; rotl $a0, 8;;
                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:474:157: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t4; addu $t1, $t5; addu $t2, $t6; addu $t3, $t7; xor $a3, $t0; xor $at, $t1; xor $v0, $t2; xor $a0, $t3; rotl $a3, 8; rotl $at, 8; rotl $v0, 8; rotl $a0, 8;;
                                                                                                                                                            ^
arch/mips/crypto/chacha-core.S:475:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $a3; addu $t9, $at; addu $v1, $v0; addu $s6, $a0; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 7; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:475:131: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $a3; addu $t9, $at; addu $v1, $v0; addu $s6, $a0; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 7; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7;;
                                                                                                                                  ^
arch/mips/crypto/chacha-core.S:475:144: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $a3; addu $t9, $at; addu $v1, $v0; addu $s6, $a0; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 7; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7;;
                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:475:157: error: unknown instruction, did you mean: rol, rotr?
 addu $t8, $a3; addu $t9, $at; addu $v1, $v0; addu $s6, $a0; xor $t4, $t8; xor $t5, $t9; xor $t6, $v1; xor $t7, $s6; rotl $t4, 7; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7;;
                                                                                                                                                            ^
arch/mips/crypto/chacha-core.S:476:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $a0, $t0; xor $a3, $t1; xor $at, $t2; xor $v0, $t3; rotl $a0, 16; rotl $a3, 16; rotl $at, 16; rotl $v0, 16;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:476:132: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $a0, $t0; xor $a3, $t1; xor $at, $t2; xor $v0, $t3; rotl $a0, 16; rotl $a3, 16; rotl $at, 16; rotl $v0, 16;;
                                                                                                                                   ^
arch/mips/crypto/chacha-core.S:476:146: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $a0, $t0; xor $a3, $t1; xor $at, $t2; xor $v0, $t3; rotl $a0, 16; rotl $a3, 16; rotl $at, 16; rotl $v0, 16;;
                                                                                                                                                 ^
arch/mips/crypto/chacha-core.S:476:160: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $a0, $t0; xor $a3, $t1; xor $at, $t2; xor $v0, $t3; rotl $a0, 16; rotl $a3, 16; rotl $at, 16; rotl $v0, 16;;
                                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:477:118: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $a0; addu $s6, $a3; addu $t8, $at; addu $t9, $v0; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12; rotl $t4, 12;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:477:132: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $a0; addu $s6, $a3; addu $t8, $at; addu $t9, $v0; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12; rotl $t4, 12;;
                                                                                                                                   ^
arch/mips/crypto/chacha-core.S:477:146: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $a0; addu $s6, $a3; addu $t8, $at; addu $t9, $v0; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12; rotl $t4, 12;;
                                                                                                                                                 ^
arch/mips/crypto/chacha-core.S:477:160: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $a0; addu $s6, $a3; addu $t8, $at; addu $t9, $v0; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 12; rotl $t6, 12; rotl $t7, 12; rotl $t4, 12;;
                                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:478:118: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $a0, $t0; xor $a3, $t1; xor $at, $t2; xor $v0, $t3; rotl $a0, 8; rotl $a3, 8; rotl $at, 8; rotl $v0, 8;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:478:131: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $a0, $t0; xor $a3, $t1; xor $at, $t2; xor $v0, $t3; rotl $a0, 8; rotl $a3, 8; rotl $at, 8; rotl $v0, 8;;
                                                                                                                                  ^
arch/mips/crypto/chacha-core.S:478:144: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $a0, $t0; xor $a3, $t1; xor $at, $t2; xor $v0, $t3; rotl $a0, 8; rotl $a3, 8; rotl $at, 8; rotl $v0, 8;;
                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:478:157: error: unknown instruction, did you mean: rol, rotr?
 addu $t0, $t5; addu $t1, $t6; addu $t2, $t7; addu $t3, $t4; xor $a0, $t0; xor $a3, $t1; xor $at, $t2; xor $v0, $t3; rotl $a0, 8; rotl $a3, 8; rotl $at, 8; rotl $v0, 8;;
                                                                                                                                                            ^
arch/mips/crypto/chacha-core.S:479:118: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $a0; addu $s6, $a3; addu $t8, $at; addu $t9, $v0; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7; rotl $t4, 7;;
                                                                                                                     ^
arch/mips/crypto/chacha-core.S:479:131: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $a0; addu $s6, $a3; addu $t8, $at; addu $t9, $v0; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7; rotl $t4, 7;;
                                                                                                                                  ^
arch/mips/crypto/chacha-core.S:479:144: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $a0; addu $s6, $a3; addu $t8, $at; addu $t9, $v0; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7; rotl $t4, 7;;
                                                                                                                                               ^
arch/mips/crypto/chacha-core.S:479:157: error: unknown instruction, did you mean: rol, rotr?
 addu $v1, $a0; addu $s6, $a3; addu $t8, $at; addu $t9, $v0; xor $t5, $v1; xor $t6, $s6; xor $t7, $t8; xor $t4, $t9; rotl $t5, 7; rotl $t6, 7; rotl $t7, 7; rotl $t4, 7;;
                                                                                                                                                            ^
make[1]: *** [scripts/Makefile.build:388: arch/mips/crypto/chacha-core.o] Error 1

This can be reproduced by

#!/bin/sh

KVER=5.16-rc4
LANG=C.UTF-8
export LANG
cd /var/tmp/tmp11mips64el_11

  cat >/tmp/config$$.txt <<EOF
CONFIG_INIT_STACK_ALL_ZERO=y
CONFIG_KVM=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_DYNAMIC=y
CONFIG_UBSAN_OBJECT_SIZE=n

CONFIG_WERROR=n
CONFIG_EMBEDDED=n

CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_DWARF5=y
CONFIG_DEBUG_INFO_COMPRESSED=y
CONFIG_DEBUG_INFO_BTF=y

CONFIG_ACPI=y
CONFIG_EFI_STUB=y
CONFIG_EFI=y
CONFIG_DMI=y
CONFIG_NUMA=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_CPU=y

CONFIG_XILINX_SDFEC=n
CONFIG_CPU_MIPS32_R2=y
CONFIG_HIBERNATION=y
CONFIG_MIPS_CPS=y
CONFIG_CPU_HAS_MSA=y
CONFIG_RELOCATABLE=y
CONFIG_RELOCATION_TABLE_SIZE=0x00800000
CONFIG_KEXEC=n
CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_CPU_BIG_ENDIAN=n
CONFIG_32BIT=y
CONFIG_64BIT=n
CONFIG_HIGHMEM=y
CONFIG_MIPS_O32_FP64_SUPPORT=y
CONFIG_CRYPTO_CRC32_MIPS=m
CONFIG_CRYPTO_CHACHA_MIPS=m
CONFIG_CRYPTO_POLY1305_MIPS=m
EOF

for a in mips; do
  rm -rf /var/tmp/tmp11mips64el_11/$a
  mkdir /var/tmp/tmp11mips64el_11/$a
  cd /var/tmp/tmp11mips64el_11/$a
  exec </dev/null >build-log-${KVER}-${a}.txt 2>&1
  set -xe
  tar zxf /var/tmp/linux-${KVER}.tar.gz
  cd linux-${KVER}

#  sed -i 's/-O2/-O3/g' Makefile
#  sed -i 's/-Os/-Oz/g' Makefile
  cp /tmp/config$$.txt .config
  make LLVM=1 LLVM_IAS=1 CROSS_COMPILE=mips-linux-gnu- allmodconfig
#  make CROSS_COMPILE=mips-linux-gnu- allmodconfig
  cat /tmp/config$$.txt >>.config

  yes '' |
#    chrt --idle 0 nice -19 make -j 5 --keep-going ARCH=$a CROSS_COMPILE=mips-linux-gnu-  all &
    chrt --idle 0 nice -19 make -j 5 --keep-going ARCH=$a LLVM=1 LLVM_IAS=1 CROSS_COMPILE=mips-linux-gnu- KCFLAGS="-mllvm -polly-ast-use-context -mllvm -polly-invariant-load-hoisting -mllvm -polly-opt-fusion=max -mllvm -polly-run-inliner -mllvm -polly-vectorizer=stripmine -mllvm -polly-run-dce" all &
  exec </dev/null >/dev/null 2>&1
done 
wait
nickdesaulniers commented 2 years ago

Does rotl have a 3 operand variant?