@@ -2458,11 +2458,11 @@ fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
24582458 }
24592459
24602460 Opcode :: TlsValue => {
2461- panic ! ( "Thread-local storage support not implemented!" ) ;
2461+ unimplemented ! ( "Thread-local storage support not implemented!" ) ;
24622462 }
24632463
24642464 Opcode :: GetPinnedReg | Opcode :: SetPinnedReg => {
2465- panic ! ( "Pinned register support not implemented!" ) ;
2465+ unimplemented ! ( "Pinned register support not implemented!" ) ;
24662466 }
24672467
24682468 Opcode :: Icmp => {
@@ -2679,10 +2679,10 @@ fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
26792679 let ty = ty. unwrap ( ) ;
26802680 assert ! ( is_valid_atomic_transaction_ty( ty) ) ;
26812681 if endianness == Endianness :: Little {
2682- panic ! ( "Little-endian atomic operations not implemented" ) ;
2682+ unimplemented ! ( "Little-endian atomic operations not implemented" ) ;
26832683 }
26842684 if ty_bits ( ty) < 32 {
2685- panic ! ( "Sub-word atomic operations not implemented" ) ;
2685+ unimplemented ! ( "Sub-word atomic operations not implemented" ) ;
26862686 }
26872687 let op = inst_common:: AtomicRmwOp :: from ( ctx. data ( insn) . atomic_rmw_op ( ) . unwrap ( ) ) ;
26882688 let ( alu_op, rn) = match op {
@@ -2701,7 +2701,7 @@ fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
27012701 } ) ;
27022702 ( choose_32_64 ( ty, ALUOp :: Add32 , ALUOp :: Add64 ) , tmp. to_reg ( ) )
27032703 }
2704- _ => panic ! ( "AtomicRmw operation type {:?} not implemented" , op) ,
2704+ _ => unimplemented ! ( "AtomicRmw operation type {:?} not implemented" , op) ,
27052705 } ;
27062706 let mem = MemArg :: reg ( addr, flags) ;
27072707 ctx. emit ( Inst :: AtomicRmw {
@@ -2721,10 +2721,10 @@ fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
27212721 let ty = ty. unwrap ( ) ;
27222722 assert ! ( is_valid_atomic_transaction_ty( ty) ) ;
27232723 if endianness == Endianness :: Little {
2724- panic ! ( "Little-endian atomic operations not implemented" ) ;
2724+ unimplemented ! ( "Little-endian atomic operations not implemented" ) ;
27252725 }
27262726 if ty_bits ( ty) < 32 {
2727- panic ! ( "Sub-word atomic operations not implemented" ) ;
2727+ unimplemented ! ( "Sub-word atomic operations not implemented" ) ;
27282728 }
27292729 let mem = MemArg :: reg ( addr, flags) ;
27302730 ctx. emit ( Inst :: gen_move ( rd, rm, ty) ) ;
@@ -2865,13 +2865,14 @@ fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
28652865 | Opcode :: UwidenLow
28662866 | Opcode :: UwidenHigh
28672867 | Opcode :: WideningPairwiseDotProductS
2868+ | Opcode :: SqmulRoundSat
28682869 | Opcode :: FvpromoteLow
28692870 | Opcode :: Fvdemote => {
28702871 // TODO
2871- panic ! ( "Vector ops not implemented." ) ;
2872+ unimplemented ! ( "Vector ops not implemented." ) ;
28722873 }
28732874
2874- Opcode :: Isplit | Opcode :: Iconcat => panic ! ( "Wide integer ops not implemented." ) ,
2875+ Opcode :: Isplit | Opcode :: Iconcat => unimplemented ! ( "Wide integer ops not implemented." ) ,
28752876
28762877 Opcode :: Spill
28772878 | Opcode :: Fill
0 commit comments