如何将128位的立即到XMM寄存器 [英] How to move 128-bit immediates to XMM registers

查看:545
本文介绍了如何将128位的立即到XMM寄存器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有已经是对这个问题,但它被关闭的暧昧所以我打开一个新 - 我已经找到了答案,也许这将帮助别人太

There already is a question on this, but it was closed as "ambiguous" so I'm opening a new one - I've found the answer, maybe it will help others too.

现在的问题是:你如何编写汇编code的顺序,有128位立即(常数)值来初始化XMM寄存器

The question is: how do you write a sequence of assembly code to initialize an XMM register with a 128-bit immediate (constant) value?

推荐答案

只是想补充一点,人们可以读到关于瓦格纳雾手册的汇编语言优化子程序,生成常量,第13.4节,第121页。

Just wanted to add that one can read about generating various constants using assembly in Agner Fog's manual Optimizing subroutines in assembly language, Generating constants, section 13.4, page 121.

这篇关于如何将128位的立即到XMM寄存器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆