没有合适的资源?快使用搜索试试~ 我知道了~
首页ARM Compiler 6.4:Neon指令集使用指南
ARM Compiler 6.4:Neon指令集使用指南
需积分: 10 4 下载量 128 浏览量
更新于2024-07-16
收藏 4.41MB PDF 举报
"DUI0801E_armasm_user_guide.pdf" 是一份ARM Compiler的用户指南,特别针对的是ARM架构的ARM Neon指令集。Neon是Advanced Multimedia Extensions(高级多媒体扩展)的一部分,它为ARM处理器提供了高性能的单精度和双精度浮点运算,以及向量处理能力,这对于处理并行计算和多媒体应用非常关键。这份文档旨在为使用Neon指令的程序开发人员,尤其是初学者,提供详细的指导和教程。
ARM Compiler v6.4版的armasm用户手册包含了从版本6.00到6.4的更新历史,说明了每个版本的发布日期和主要变化。从2014年3月的v6.00版本开始,直到2016年2月的v6.4版本,这些更新反映了对编译器功能的改进、性能优化以及对Neon指令集的支持不断完善。
在文档中,开发者可以了解到如何在armasm汇编语言中有效地利用Neon指令,包括数据类型转换、算术操作、逻辑操作、矢量负载和存储、以及SIMD(Single Instruction Multiple Data,单指令多数据)操作。此外,还会有关于内存访问模式、指令集特性和最佳实践的说明,以确保代码的高效性和兼容性。
对于初学者而言,这部分内容可能是理解如何编写和优化使用Neon的性能关键部分,包括可能遇到的问题及解决方案。同时,由于文档强调了版权和保密性,确保遵循文档中的使用许可条款至关重要,以避免未经许可复制或实施文档中的信息。
总结来说,这份指南不仅是一份技术手册,也是开发者学习和实践ARM Neon指令集的重要参考资料,帮助他们提升在ARM架构上进行高效并行编程的能力。无论是对现有项目进行优化还是开发新项目,都应充分利用这份文档提供的详尽信息。
14.113 VSHL (by immediate) .......................................................................................... 14-709
14.114 VSHL (by signed variable) ......................................... ......................................... 14-710
14.115 VSHLL (by immediate) ............................................ ............................................ 14-711
14.116 VSHR (by immediate) .......................................................................................... 14-712
14.117 VSHRN (by immediate) ........................................... ........................................... 14-713
14.118 VSLI .......................................................... .......................................................... 14-714
14.119 VSRA (by immediate) .......................................................................................... 14-715
14.120 VSRI .................................................................................................................... 14-716
14.121 VSTM ......................................................... ......................................................... 14-717
14.122 VSTn (multiple n-element structures) .................................................................. 14-718
14.123 VSTn (single n-element structure to one lane) .................................................... 14-720
14.124 VSTR ......................................................... ......................................................... 14-722
14.125 VSTR (post-increment and pre-decrement) ............................ ............................ 14-723
14.126 VSUB ......................................................... ......................................................... 14-724
14.127 VSUBHN .............................................................................................................. 14-725
14.128 VSUBL and VSUBW ............................................................................................ 14-726
14.129 VSWP .................................................................................................................. 14-727
14.130 VTBL and VTBX .................................................................................................. 14-728
14.131 VTRN ......................................................... ......................................................... 14-729
14.132 VTST ......................................................... ......................................................... 14-730
14.133 VUZP ......................................................... ......................................................... 14-731
14.134 VZIP .......................................................... .......................................................... 14-732
Chapter 15 Floating-point Instructions (32-bit)
15.1 Summary of floating-point instructions ................................ ................................ 15-735
15.2 VABS (floating-point) ............................................. ............................................. 15-737
15.3 VADD (floating-point) ............................................. ............................................. 15-738
15.4 VCMP, VCMPE .................................................................................................... 15-739
15.5 VCVT (between single-precision and double-precision) ...................................... 15-740
15.6 VCVT (between floating-point and integer) ............................ ............................ 15-741
15.7 VCVT (from floating-point to integer with directed rounding modes) ......... ......... 15-742
15.8 VCVT (between floating-point and fixed-point) .................................................... 15-743
15.9 VCVTB, VCVTT (half-precision extension) .......................................................... 15-744
15.10 VCVTB, VCVTT (between half-precision and double-precision) ............ ............ 15-745
15.11 VDIV .................................................................................................................... 15-746
15.12 VFMA, VFMS, VFNMA, VFNMS (floating-point) ........................ ........................ 15-747
15.13 VLDM (floating-point) ............................................. ............................................. 15-748
15.14 VLDR (floating-point) ............................................. ............................................. 15-749
15.15 VLDR (post-increment and pre-decrement, floating-point) .................................. 15-750
15.16 VLDR pseudo-instruction (floating-point) .............................. .............................. 15-751
15.17 VMAXNM, VMINNM (floating-point) .................................................................... 15-752
15.18 VMLA (floating-point) ............................................. ............................................. 15-753
15.19 VMLS (floating-point) ............................................. ............................................. 15-754
15.20 VMOV (floating-point) .......................................................................................... 15-755
15.21 VMOV (between one ARM register and single precision floating-point register) 15-756
15.22 VMOV (between two ARM registers and one or two extension registers) ..... ..... 15-757
15.23 VMOV (between an ARM register and half a double precision floating-point register) ....
.............................................................................................................................. 15-758
15.24 VMRS (floating-point) .......................................................................................... 15-759
15.25 VMSR (floating-point) .......................................................................................... 15-760
ARM DUI0801E Copyright © 2014-2016 ARM. All rights reserved. 16
Non-Confidential
15.26 VMUL (floating-point) ............................................. ............................................. 15-761
15.27 VNEG (floating-point) .......................................................................................... 15-762
15.28 VNMLA (floating-point) ........................................................................................ 15-763
15.29 VNMLS (floating-point) ........................................................................................ 15-764
15.30 VNMUL (floating-point) ........................................................................................ 15-765
15.31 VPOP (floating-point) ............................................. ............................................. 15-766
15.32 VPUSH (floating-point) ........................................................................................ 15-767
15.33 VRINT (floating-point) .......................................................................................... 15-768
15.34 VSEL ......................................................... ......................................................... 15-769
15.35 VSQRT ................................................................................................................ 15-770
15.36 VSTM (floating-point) ............................................. ............................................. 15-771
15.37 VSTR (floating-point) ............................................. ............................................. 15-772
15.38 VSTR (post-increment and pre-decrement, floating-point) .................................. 15-773
15.39 VSUB (floating-point) ............................................. ............................................. 15-774
Chapter 16 A64 General Instructions
16.1 A64 general instructions in alphabetical order .......................... .......................... 16-779
16.2 Register restrictions for A64 instructions .............................. .............................. 16-784
16.3 ADC .......................................................... .......................................................... 16-785
16.4 ADCS ......................................................... ......................................................... 16-786
16.5 ADD (extended register) ...................................................................................... 16-787
16.6 ADD (immediate) ................................................ ................................................ 16-789
16.7 ADD (shifted register) .......................................................................................... 16-790
16.8 ADDS (extended register) ......................................... ......................................... 16-791
16.9 ADDS (immediate) ............................................... ............................................... 16-793
16.10 ADDS (shifted register) ........................................................................................ 16-794
16.11 ADR .......................................................... .......................................................... 16-795
16.12 ADRL pseudo-instruction .......................................... .......................................... 16-796
16.13 ADRP ......................................................... ......................................................... 16-797
16.14 AND (immediate) ................................................ ................................................ 16-798
16.15 AND (shifted register) .......................................................................................... 16-799
16.16 ANDS (immediate) ............................................... ............................................... 16-800
16.17 ANDS (shifted register) ........................................................................................ 16-801
16.18 ASR (register) ...................................................................................................... 16-802
16.19 ASR (immediate) ................................................ ................................................ 16-803
16.20 ASRV ......................................................... ......................................................... 16-804
16.21 AT ........................................................................................................................ 16-805
16.22 B. ............................................................ ............................................................ 16-806
16.23 B .......................................................................................................................... 16-807
16.24 BFI ........................................................... ........................................................... 16-808
16.25 BFM .......................................................... .......................................................... 16-809
16.26 BFXIL ......................................................... ......................................................... 16-810
16.27 BIC (shifted register) ............................................................................................ 16-811
16.28 BICS (shifted register) ............................................ ............................................ 16-812
16.29 BL ........................................................................................................................ 16-813
16.30 BLR ...................................................................................................................... 16-814
16.31 BR ........................................................................................................................ 16-815
16.32 BRK .......................................................... .......................................................... 16-816
16.33 CBNZ ......................................................... ......................................................... 16-817
16.34 CBZ .......................................................... .......................................................... 16-818
ARM DUI0801E Copyright © 2014-2016 ARM. All rights reserved. 17
Non-Confidential
16.35 CCMN (immediate) .............................................................................................. 16-819
16.36 CCMN (register) ................................................. ................................................. 16-820
16.37 CCMP (immediate) .............................................................................................. 16-821
16.38 CCMP (register) ................................................. ................................................. 16-822
16.39 CINC .................................................................................................................... 16-823
16.40 CINV .................................................................................................................... 16-824
16.41 CLREX ........................................................ ........................................................ 16-825
16.42 CLS ...................................................................................................................... 16-826
16.43 CLZ ...................................................................................................................... 16-827
16.44 CMN (extended register) .......................................... .......................................... 16-828
16.45 CMN (immediate) ................................................ ................................................ 16-830
16.46 CMN (shifted register) ............................................ ............................................ 16-831
16.47 CMP (extended register) .......................................... .......................................... 16-832
16.48 CMP (immediate) ................................................ ................................................ 16-834
16.49 CMP (shifted register) .......................................................................................... 16-835
16.50 CNEG .................................................................................................................. 16-836
16.51 CRC32B, CRC32H, CRC32W, CRC32X .............................. .............................. 16-837
16.52 CRC32CB, CRC32CH, CRC32CW, CRC32CX ......................... ......................... 16-838
16.53 CSEL ......................................................... ......................................................... 16-839
16.54 CSET ......................................................... ......................................................... 16-840
16.55 CSETM ................................................................................................................ 16-841
16.56 CSINC ........................................................ ........................................................ 16-842
16.57 CSINV .................................................................................................................. 16-843
16.58 CSNEG ................................................................................................................ 16-844
16.59 DC ........................................................... ........................................................... 16-845
16.60 DCPS1 ........................................................ ........................................................ 16-846
16.61 DCPS2 ........................................................ ........................................................ 16-847
16.62 DCPS3 ........................................................ ........................................................ 16-848
16.63 DMB .......................................................... .......................................................... 16-849
16.64 DRPS ......................................................... ......................................................... 16-850
16.65 DSB .......................................................... .......................................................... 16-851
16.66 EON (shifted register) .......................................................................................... 16-852
16.67 EOR (immediate) ................................................ ................................................ 16-853
16.68 EOR (shifted register) .......................................................................................... 16-854
16.69 ERET ......................................................... ......................................................... 16-855
16.70 EXTR ......................................................... ......................................................... 16-856
16.71 HINT .................................................................................................................... 16-857
16.72 HLT ...................................................................................................................... 16-858
16.73 HVC .......................................................... .......................................................... 16-859
16.74 IC ............................................................ ............................................................ 16-860
16.75 ISB ........................................................... ........................................................... 16-861
16.76 LSL (register) ................................................... ................................................... 16-862
16.77 LSL (immediate) .................................................................................................. 16-863
16.78 LSLV .................................................................................................................... 16-864
16.79 LSR (register) ...................................................................................................... 16-865
16.80 LSR (immediate) .................................................................................................. 16-866
16.81 LSRV ......................................................... ......................................................... 16-867
16.82 MADD .................................................................................................................. 16-868
16.83 MNEG .................................................................................................................. 16-869
16.84 MOV (to or from SP) ............................................................................................ 16-870
ARM DUI0801E Copyright © 2014-2016 ARM. All rights reserved. 18
Non-Confidential
16.85 MOV (inverted wide immediate) .......................................................................... 16-871
16.86 MOV (wide immediate) ........................................................................................ 16-872
16.87 MOV (bitmask immediate) ......................................... ......................................... 16-873
16.88 MOV (register) .................................................. .................................................. 16-874
16.89 MOVK .................................................................................................................. 16-875
16.90 MOVL pseudo-instruction .................................................................................... 16-876
16.91 MOVN .................................................................................................................. 16-877
16.92 MOVZ .................................................................................................................. 16-878
16.93 MRS .......................................................... .......................................................... 16-879
16.94 MSR (immediate) ................................................ ................................................ 16-880
16.95 MSR (register) .................................................. .................................................. 16-881
16.96 MSUB .................................................................................................................. 16-882
16.97 MUL .......................................................... .......................................................... 16-883
16.98 MVN .......................................................... .......................................................... 16-884
16.99 NEG (shifted register) .......................................................................................... 16-885
16.100 NEGS .................................................................................................................. 16-886
16.101 NGC .......................................................... .......................................................... 16-887
16.102 NGCS .................................................................................................................. 16-888
16.103 NOP .......................................................... .......................................................... 16-889
16.104 ORN (shifted register) .......................................................................................... 16-890
16.105 ORR (immediate) ................................................ ................................................ 16-891
16.106 ORR (shifted register) .......................................................................................... 16-892
16.107 RBIT .................................................................................................................... 16-893
16.108 RET .......................................................... .......................................................... 16-894
16.109 REV16 ........................................................ ........................................................ 16-895
16.110 REV32 ........................................................ ........................................................ 16-896
16.111 REV .......................................................... .......................................................... 16-897
16.112 ROR (immediate) ................................................ ................................................ 16-898
16.113 ROR (register) .................................................. .................................................. 16-899
16.114 RORV .................................................................................................................. 16-900
16.115 SBC .......................................................... .......................................................... 16-901
16.116 SBCS ......................................................... ......................................................... 16-902
16.117 SBFIZ .................................................................................................................. 16-903
16.118 SBFM ......................................................... ......................................................... 16-904
16.119 SBFX ......................................................... ......................................................... 16-905
16.120 SDIV .................................................................................................................... 16-906
16.121 SEV .......................................................... .......................................................... 16-907
16.122 SEVL ......................................................... ......................................................... 16-908
16.123 SMADDL .............................................................................................................. 16-909
16.124 SMC .......................................................... .......................................................... 16-910
16.125 SMNEGL .............................................................................................................. 16-911
16.126 SMSUBL .............................................................................................................. 16-912
16.127 SMULH ................................................................................................................ 16-913
16.128 SMULL ........................................................ ........................................................ 16-914
16.129 SUB (extended register) ...................................................................................... 16-915
16.130 SUB (immediate) ................................................ ................................................ 16-917
16.131 SUB (shifted register) .......................................................................................... 16-918
16.132 SUBS (extended register) .................................................................................... 16-919
16.133 SUBS (immediate) ............................................... ............................................... 16-921
16.134 SUBS (shifted register) ........................................................................................ 16-922
ARM DUI0801E Copyright © 2014-2016 ARM. All rights reserved. 19
Non-Confidential
16.135 SVC .......................................................... .......................................................... 16-923
16.136 SXTB ......................................................... ......................................................... 16-924
16.137 SXTH ......................................................... ......................................................... 16-925
16.138 SXTW .................................................................................................................. 16-926
16.139 SYS .......................................................... .......................................................... 16-927
16.140 SYSL ......................................................... ......................................................... 16-928
16.141 TBNZ ......................................................... ......................................................... 16-929
16.142 TBZ ...................................................................................................................... 16-930
16.143 TLBI .......................................................... .......................................................... 16-931
16.144 TST (immediate) .................................................................................................. 16-933
16.145 TST (shifted register) ............................................. ............................................. 16-934
16.146 UBFIZ .................................................................................................................. 16-935
16.147 UBFM .................................................................................................................. 16-936
16.148 UBFX ......................................................... ......................................................... 16-937
16.149 UDIV .................................................................................................................... 16-938
16.150 UMADDL ...................................................... ...................................................... 16-939
16.151 UMNEGL ...................................................... ...................................................... 16-940
16.152 UMSUBL .............................................................................................................. 16-941
16.153 UMULH ................................................................................................................ 16-942
16.154 UMULL ................................................................................................................ 16-943
16.155 UXTB ......................................................... ......................................................... 16-944
16.156 UXTH ......................................................... ......................................................... 16-945
16.157 WFE .......................................................... .......................................................... 16-946
16.158 WFI ...................................................................................................................... 16-947
16.159 YIELD .................................................................................................................. 16-948
Chapter 17 A64 Data Transfer Instructions
17.1 A64 data transfer instructions in alphabetical order ...................... ...................... 17-952
17.2 Register restrictions for A64 instructions .............................. .............................. 17-955
17.3 LDAR ......................................................... ......................................................... 17-956
17.4 LDARB ........................................................ ........................................................ 17-957
17.5 LDARH ................................................................................................................ 17-958
17.6 LDAXP ........................................................ ........................................................ 17-959
17.7 LDAXR ........................................................ ........................................................ 17-960
17.8 LDAXRB .............................................................................................................. 17-961
17.9 LDAXRH .............................................................................................................. 17-962
17.10 LDNP (SIMD and FP) .......................................................................................... 17-963
17.11 LDNP ......................................................... ......................................................... 17-964
17.12 LDP (SIMD and FP) .............................................. .............................................. 17-965
17.13 LDP ...................................................................................................................... 17-966
17.14 LDPSW ................................................................................................................ 17-967
17.15 LDR (immediate, SIMD and FP) .......................................................................... 17-968
17.16 LDR (immediate) ................................................ ................................................ 17-970
17.17 LDR (literal, SIMD and FP) .................................................................................. 17-971
17.18 LDR (literal) .................................................... .................................................... 17-972
17.19 LDR pseudo-instruction ........................................... ........................................... 17-973
17.20 LDR (register, SIMD and FP) ....................................... ....................................... 17-975
17.21 LDR (register) ...................................................................................................... 17-977
17.22 LDRB (immediate) ............................................... ............................................... 17-978
17.23 LDRB (register) .................................................................................................... 17-979
ARM DUI0801E Copyright © 2014-2016 ARM. All rights reserved. 20
Non-Confidential
剩余1589页未读,继续阅读
2019-04-10 上传
2020-08-02 上传
2020-01-17 上传
2021-08-07 上传
2019-08-22 上传
点击了解资源详情
点击了解资源详情
lifei092
- 粉丝: 49
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MATLAB实现小波阈值去噪:Visushrink硬软算法对比
- 易语言实现画板图像缩放功能教程
- 大模型推荐系统: 优化算法与模型压缩技术
- Stancy: 静态文件驱动的简单RESTful API与前端框架集成
- 掌握Java全文搜索:深入Apache Lucene开源系统
- 19计应19田超的Python7-1试题整理
- 易语言实现多线程网络时间同步源码解析
- 人工智能大模型学习与实践指南
- 掌握Markdown:从基础到高级技巧解析
- JS-PizzaStore: JS应用程序模拟披萨递送服务
- CAMV开源XML编辑器:编辑、验证、设计及架构工具集
- 医学免疫学情景化自动生成考题系统
- 易语言实现多语言界面编程教程
- MATLAB实现16种回归算法在数据挖掘中的应用
- ***内容构建指南:深入HTML与LaTeX
- Python实现维基百科“历史上的今天”数据抓取教程
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功