Floating-Point Square Root
Compute an IEEE 754 correctly rounded square root.
Floating Point
Semantics
rd = sqrt(rs1), correctly rounded per IEEE 754. All four architectures provide this directly in hardware.
| Architecture | Instructions | Expressed as | How this architecture does it |
|---|---|---|---|
| x86 | one instruction | SSE scalar forms, with packed variants and a fast reciprocal approximation (RSQRTSS) alongside. | |
| ARM | one instruction | Scalar and vector forms share the mnemonic, distinguished by register type. | |
| RISC-V | one instruction | F and D extensions, with the rounding mode selectable per instruction. | |
| PowerISA | one instruction | Double and single precision forms in the base floating-point ISA. |
Other operations
Add With Carry Atomic Compare and Swap Atomic Fetch and Add Breakpoint Trap Byte Swap (Endianness Reversal) Cache Line Flush Cache Prefetch Hint Compare and Branch Conditional Select (Branchless Move) Count Leading Zeros Count Trailing Zeros Fused Multiply-Add Integer Addition Integer Divide Integer Multiply Load-Acquire Memory Barrier / Fence No Operation Population Count Rotate Left Sign Extend Byte System Call