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指令实现C语言的条件选择语句,比如 return (x>0)?x : 0.6*x; 请问用vmax和vpmax怎样实现呢
Jump...
Cancel
Locked
Locked
Replies
9 replies
Subscribers
5 subscribers
Views
15821 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指令实现C语言的条件选择语句,比如 return (x>0)?x : 0.6*x; 请问用vmax和vpmax怎样实现呢
Alps
over 7 years ago
NEON指令如何实现C语言的条件选择语句,比如 return (x>0)?x : 0.6*x; 请问用vmax和vpmax怎样实现呢
Parents
Yang Zhang 张洋
over 7 years ago
NEON是没有条件跳转指令的,你可以使用 VCEQ, VCGE, VCGT, VCLE, VCLT 和 VBIT, VBIF, VBSL来减少条件跳转。
可以参考一下下面blog的2.2节
community.arm.com/.../arm-neon-optimization
Cancel
Up
0
Down
Cancel
Reply
Yang Zhang 张洋
over 7 years ago
NEON是没有条件跳转指令的,你可以使用 VCEQ, VCGE, VCGT, VCLE, VCLT 和 VBIT, VBIF, VBSL来减少条件跳转。
可以参考一下下面blog的2.2节
community.arm.com/.../arm-neon-optimization
Cancel
Up
0
Down
Cancel
Children
Alps
over 7 years ago
in reply to
Yang Zhang 张洋
您好,非常感谢回答!下面的网址打不开呀?!
Cancel
Up
0
Down
Cancel
Song Bin 宋斌
over 7 years ago
in reply to
Alps
可以啊,你再试试:
community.arm.com/.../arm-neon-optimization
Cancel
Up
0
Down
Cancel
Song Bin 宋斌
over 7 years ago
in reply to
Alps
再不行的话,你加入一下这个版块:
community.arm.com/.../
Cancel
Up
0
Down
Cancel
Alps
over 7 years ago
in reply to
Song Bin 宋斌
Access Denied
You do not have permissions to perform the requested action.
Cancel
Up
0
Down
Cancel
Alps
over 7 years ago
in reply to
Song Bin 宋斌
Unfortunately, the page you've requested no longer exists. Please use the search form above to locate the information you're interested in.
Cancel
Up
0
Down
Cancel
Alps
over 7 years ago
in reply to
Yang Zhang 张洋
通过指令的逻辑组合,已经实现了条件跳转的NEON加速了。
Cancel
Up
0
Down
Cancel
Song Bin 宋斌
over 7 years ago
in reply to
Alps
可能有Bug,我看一下
Cancel
Up
0
Down
Cancel
Song Bin 宋斌
over 7 years ago
in reply to
Alps
这个区域施工中,我看看能不能有别的办法让大家看到
Cancel
Up
0
Down
Cancel