Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
中文社区论区
neon的vabs_s16指令是不是会丢失-32768
Jump...
Cancel
Locked
Locked
Replies
6 replies
Subscribers
7 subscribers
Views
6735 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
neon的vabs_s16指令是不是会丢失-32768
Song Bin 宋斌
over 7 years ago
RT
Top replies
sunhuino1
over 7 years ago
in reply to
Zhongwei Yao
+1
谢谢管理员帮我提交的问题,这个问题是我问的。 vabs_s16/s32的返回值看 arm-neon.h的定义是 int16x /int32x , 如果后续的操作是vmax,如果继续使用vmax_s16/s32会导致 最大值丢失。 实际代码里面这样的操作比较常见。 因此建议 vabs_s16 之类的返回值设置成 uint16x / uint32x 这样,以免丢失 -32768/-2xxxxx...
Parents
Zhongwei Yao
over 7 years ago
in reply to
sunhuino1
了解
Cancel
Up
0
Down
Cancel
Reply
Zhongwei Yao
over 7 years ago
in reply to
sunhuino1
了解
Cancel
Up
0
Down
Cancel
Children
No data