Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用VPADAL.U32指令来大大提高我的加法代码速度。但是,我需要用累积和进位来减去一些东西(正是我得到的加法)。
VPADAL.U32
一厢情愿还是实际上可能?
据我所知,我需要减少我的第二个操作数,而不是它的位......执行VPADAL,然后对 1 进行位测试,并从结果进位中减去 1(得到 0 或 -1 ——我的积累)。
VPADAL
我是否在某处错过了一种神秘的技术?
您可以使用 VPADDL 将加数成对相加并将宽度加倍,然后使用 VQSUB 从总数中减去此项。