Tile-Scalar / Tile-Immediate【免费下载链接】pto-isaParallel Tile Operation (PTO) is a virtual instruction set architecture designed by Ascend CANN, focusing on tile-level operations. This repository offers high-performance, cross-platform tile operations across Ascend platforms.项目地址: https://gitcode.com/cann/pto-isaThis document describes operations between tiles and scalar values or immediate constants.Total Operations:20OperationsTEXPANDSFor detailed instruction documentation, see isa/TEXPANDSAS Level 1 (SSA):%dst pto.texpands %scalar : dtype - !pto.tile...AS Level 2 (DPS):pto.texpands ins(%scalar : dtype) outs(%dst : !pto.tile_buf...)TCMPSFor detailed instruction documentation, see isa/TCMPSAS Level 1 (SSA):%dst pto.tcmps %src, %scalar {cmpMode #ptocmp xx} : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tcmps ins(%src, %scalar{cmpMode #ptocmp xx}: !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TSELSFor detailed instruction documentation, see isa/TSELSAS Level 1 (SSA):%dst pto.tsels %src0, %src1, %scalar : (!pto.tile..., !pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tsels ins(%src0, %src1, %scalar : !pto.tile_buf..., !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TMINSFor detailed instruction documentation, see isa/TMINSAS Level 1 (SSA):%dst pto.tmins %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tmins ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TADDSFor detailed instruction documentation, see isa/TADDSAS Level 1 (SSA):%dst pto.tadds %src, %scalar : (!pto.tile...,dtype) - !pto.tile...AS Level 2 (DPS):pto.tadds ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TSUBSFor detailed instruction documentation, see isa/TSUBSAS Level 1 (SSA):%dst pto.tsubs %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tsubs ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TDIVSFor detailed instruction documentation, see isa/TDIVSAS Level 1 (SSA):%dst pto.tdivs %src, %scalar : (!pto.tile..., dtype) - !pto.tile... %dst pto.tdivs %scalar, %src : (dtype, !pto.tile...) - !pto.tile...AS Level 2 (DPS):pto.tdivs ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...) pto.tdivs ins(%scalar, %src : dtype, !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TMULSFor detailed instruction documentation, see isa/TMULSAS Level 1 (SSA):%dst pto.tmuls %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tmuls ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TFMODSFor detailed instruction documentation, see isa/TFMODSAS Level 1 (SSA):%dst pto.tfmods %src, %scalar : !pto.tile..., f32AS Level 2 (DPS):pto.tfmods ins(%src, %scalar : !pto.tile_buf..., f32) outs(%dst : !pto.tile_buf...)TREMSFor detailed instruction documentation, see isa/TREMSAS Level 1 (SSA):%dst pto.trems %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.trems ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TMAXSFor detailed instruction documentation, see isa/TMAXSAS Level 1 (SSA):%dst pto.tmaxs %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tmaxs ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TANDSFor detailed instruction documentation, see isa/TANDSAS Level 1 (SSA):%dst pto.tands %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tands ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TORSFor detailed instruction documentation, see isa/TORSAS Level 1 (SSA):%dst pto.tors %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tors ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TSHLSFor detailed instruction documentation, see isa/TSHLSAS Level 1 (SSA):%dst pto.tshls %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tshls ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TSHRSFor detailed instruction documentation, see isa/TSHRSAS Level 1 (SSA):%dst pto.tshrs %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tshrs ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TXORSFor detailed instruction documentation, see isa/TXORSAS Level 1 (SSA):%dst pto.txors %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.txors ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TLRELUFor detailed instruction documentation, see isa/TLRELUAS Level 1 (SSA):%dst pto.tlrelu %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tlrelu ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TADDSCFor detailed instruction documentation, see isa/TADDSCAS Level 1 (SSA):%dst pto.taddsc %src0, %scalar, %src1 : (!pto.tile..., dtype, !pto.tile...) - !pto.tile...AS Level 2 (DPS):pto.taddsc ins(%src0, %scalar, %src1 : !pto.tile_buf..., dtype, !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TSUBSCFor detailed instruction documentation, see isa/TSUBSCAS Level 1 (SSA):%dst pto.tsubsc %src0, %scalar, %src1 : (!pto.tile..., dtype, !pto.tile...) - !pto.tile...AS Level 2 (DPS):pto.tsubsc ins(%src0, %scalar, %src1 : !pto.tile_buf..., dtype, !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TPOWSFor detailed instruction documentation, see isa/TPOWSAS Level 1 (SSA):%dst pto.tpows %base, %exp, %tmp : (!pto.tile..., dtype, !pto.tile...) - !pto.tile...AS Level 2 (DPS):pto.tpows ins(%base, %exp, %tmp : !pto.tile_buf..., dtype, !pto.tile_buf...) outs(%dst : !pto.tile_buf...)【免费下载链接】pto-isaParallel Tile Operation (PTO) is a virtual instruction set architecture designed by Ascend CANN, focusing on tile-level operations. This repository offers high-performance, cross-platform tile operations across Ascend platforms.项目地址: https://gitcode.com/cann/pto-isa创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
CANN PTO Tile-Scalar汇编操作
发布时间:2026/7/12 18:56:54
Tile-Scalar / Tile-Immediate【免费下载链接】pto-isaParallel Tile Operation (PTO) is a virtual instruction set architecture designed by Ascend CANN, focusing on tile-level operations. This repository offers high-performance, cross-platform tile operations across Ascend platforms.项目地址: https://gitcode.com/cann/pto-isaThis document describes operations between tiles and scalar values or immediate constants.Total Operations:20OperationsTEXPANDSFor detailed instruction documentation, see isa/TEXPANDSAS Level 1 (SSA):%dst pto.texpands %scalar : dtype - !pto.tile...AS Level 2 (DPS):pto.texpands ins(%scalar : dtype) outs(%dst : !pto.tile_buf...)TCMPSFor detailed instruction documentation, see isa/TCMPSAS Level 1 (SSA):%dst pto.tcmps %src, %scalar {cmpMode #ptocmp xx} : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tcmps ins(%src, %scalar{cmpMode #ptocmp xx}: !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TSELSFor detailed instruction documentation, see isa/TSELSAS Level 1 (SSA):%dst pto.tsels %src0, %src1, %scalar : (!pto.tile..., !pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tsels ins(%src0, %src1, %scalar : !pto.tile_buf..., !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TMINSFor detailed instruction documentation, see isa/TMINSAS Level 1 (SSA):%dst pto.tmins %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tmins ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TADDSFor detailed instruction documentation, see isa/TADDSAS Level 1 (SSA):%dst pto.tadds %src, %scalar : (!pto.tile...,dtype) - !pto.tile...AS Level 2 (DPS):pto.tadds ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TSUBSFor detailed instruction documentation, see isa/TSUBSAS Level 1 (SSA):%dst pto.tsubs %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tsubs ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TDIVSFor detailed instruction documentation, see isa/TDIVSAS Level 1 (SSA):%dst pto.tdivs %src, %scalar : (!pto.tile..., dtype) - !pto.tile... %dst pto.tdivs %scalar, %src : (dtype, !pto.tile...) - !pto.tile...AS Level 2 (DPS):pto.tdivs ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...) pto.tdivs ins(%scalar, %src : dtype, !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TMULSFor detailed instruction documentation, see isa/TMULSAS Level 1 (SSA):%dst pto.tmuls %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tmuls ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TFMODSFor detailed instruction documentation, see isa/TFMODSAS Level 1 (SSA):%dst pto.tfmods %src, %scalar : !pto.tile..., f32AS Level 2 (DPS):pto.tfmods ins(%src, %scalar : !pto.tile_buf..., f32) outs(%dst : !pto.tile_buf...)TREMSFor detailed instruction documentation, see isa/TREMSAS Level 1 (SSA):%dst pto.trems %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.trems ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TMAXSFor detailed instruction documentation, see isa/TMAXSAS Level 1 (SSA):%dst pto.tmaxs %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tmaxs ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TANDSFor detailed instruction documentation, see isa/TANDSAS Level 1 (SSA):%dst pto.tands %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tands ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TORSFor detailed instruction documentation, see isa/TORSAS Level 1 (SSA):%dst pto.tors %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tors ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TSHLSFor detailed instruction documentation, see isa/TSHLSAS Level 1 (SSA):%dst pto.tshls %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tshls ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TSHRSFor detailed instruction documentation, see isa/TSHRSAS Level 1 (SSA):%dst pto.tshrs %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tshrs ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TXORSFor detailed instruction documentation, see isa/TXORSAS Level 1 (SSA):%dst pto.txors %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.txors ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TLRELUFor detailed instruction documentation, see isa/TLRELUAS Level 1 (SSA):%dst pto.tlrelu %src, %scalar : (!pto.tile..., dtype) - !pto.tile...AS Level 2 (DPS):pto.tlrelu ins(%src, %scalar : !pto.tile_buf..., dtype) outs(%dst : !pto.tile_buf...)TADDSCFor detailed instruction documentation, see isa/TADDSCAS Level 1 (SSA):%dst pto.taddsc %src0, %scalar, %src1 : (!pto.tile..., dtype, !pto.tile...) - !pto.tile...AS Level 2 (DPS):pto.taddsc ins(%src0, %scalar, %src1 : !pto.tile_buf..., dtype, !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TSUBSCFor detailed instruction documentation, see isa/TSUBSCAS Level 1 (SSA):%dst pto.tsubsc %src0, %scalar, %src1 : (!pto.tile..., dtype, !pto.tile...) - !pto.tile...AS Level 2 (DPS):pto.tsubsc ins(%src0, %scalar, %src1 : !pto.tile_buf..., dtype, !pto.tile_buf...) outs(%dst : !pto.tile_buf...)TPOWSFor detailed instruction documentation, see isa/TPOWSAS Level 1 (SSA):%dst pto.tpows %base, %exp, %tmp : (!pto.tile..., dtype, !pto.tile...) - !pto.tile...AS Level 2 (DPS):pto.tpows ins(%base, %exp, %tmp : !pto.tile_buf..., dtype, !pto.tile_buf...) outs(%dst : !pto.tile_buf...)【免费下载链接】pto-isaParallel Tile Operation (PTO) is a virtual instruction set architecture designed by Ascend CANN, focusing on tile-level operations. This repository offers high-performance, cross-platform tile operations across Ascend platforms.项目地址: https://gitcode.com/cann/pto-isa创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考