Distinguishing between 32-bit and 64-bit A64 instructions

Posted aspirs

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Distinguishing between 32-bit and 64-bit A64 instructions相关的知识,希望对你有一定的参考价值。

Distinguishing between 32-bit and 64-bit A64 instructions
Most integer instructions in the A64 instruction set have two forms, which operate on either 32-bit or 64-bit values within the 64-bit general-purpose register file.
When looking at the register name that the instruction uses:
• If the register name starts with X, it is a 64-bit register.
• If the register name starts with W, it is a 32-bit register.

 

When a 32-bit register form is selected:
• Right shifts and rotates inject at bit 31, instead of bit 63.
• The condition flags, where set by the instruction, are computed from the lower 32 bits.
• Writes to the W register set bits [63:32] of the X register to zero.
This distinction applies even when the results of a 32-bit register form would be indistinguishable from the lower 32 bits computed by the equivalent 64-bit register form. For example, A64 includes separate 32-bit and 64-bit register forms of the ORR instructions. A 32-bit bitwise ORR could just as easily be performed using a 64-bit ORR and ignoring the top 32 bits of the result.

以上是关于Distinguishing between 32-bit and 64-bit A64 instructions的主要内容,如果未能解决你的问题,请参考以下文章

[HDU2874]Connections between cities

SQL Server 查询使用 BETWEEN 过滤器带来不匹配的数据

如何在 Hive SQL 中为日期列执行 BETWEEN 运算符

如何在 Access SQL 中使用 BETWEEN 和 AND 来过滤日期范围?

justify-content: space-between 未能按预期对齐元素

sql语句 BETWEEN AND 检索日期期间内,最大时间点和最小时间点