X86 - AVX编程:新指令与数据处理
1. AvxPermute示例程序结果
AvxPermute示例程序展示了不同数据类型的排列操作结果,涵盖32位整数、单精度浮点数等。以下是详细结果:
- AvxPermuteInt32()
| des | ind | src |
| — | — | — |
| 40 | 3 | 10 |
| 80 | 7 | 20 |
| 10 | 0 | 30 |
| 50 | 4 | 40 |
| 70 | 6 | 50 |
| 70 | 6 | 60 |
| 20 | 1 | 70 |
| 30 | 2 | 80 |
- AvxPermuteFloat()
| des | ind | src |
| — | — | — |
| 500.0 | 3 | 800.0 |
| 100.0 | 7 | 700.0 |
| 800.0 | 0 | 600.0 |
| 400.0 | 4 | 500.0 |
| 200.0 | 6 | 400.0 |
| 200.0 | 6 | 300.0 |
| 700.0 | 1 | 200.0 |
| 600.0 | 2 | 100.0 |
- AvxPermuteFloatIl()
- Lower lane
| des | ind | src |
|
超级会员免费看
订阅专栏 解锁全文
46

被折叠的 条评论
为什么被折叠?



