User Guide

302 Index
AMD64 Technology 24592—Rev. 3.15—November 2009
S
SAHF instruction..................................................... 63
SAL instruction ....................................................... 52
SAR instruction ....................................................... 52
saturation
128-bit media ..................................................... 125
64-bit media....................................................... 204
saving state.............................. 156, 188, 223, 234, 290
SBB instruction ....................................................... 50
scalar product ................................................. 112, 197
SCAS instruction ..................................................... 57
SCASB instruction................................................... 57
SCASD instruction .................................................. 57
SCASQ instruction .................................................. 57
SCASW instruction.................................................. 57
scientific programming........................................... 106
segment override ..................................................... 73
segment registers ..................................................... 17
segmented memory .................................................. 10
self-modifying code ................................................. 98
semaphore instructions ............................................. 64
set........................................................................ xxiv
SETcc instructions ................................................... 55
SF bit....................................................... 35, 243, 282
SFENCE instruction................................................. 66
shift instructions ....................................... 52, 152, 219
SHL instruction ....................................................... 52
SHLD instruction..................................................... 52
SHR instruction ....................................................... 52
SHRD instruction .................................................... 52
shuffle instructions.................................. 144, 165, 214
SHUFPD instruction .............................................. 166
SHUFPS instruction............................................... 165
SI register.......................................................... 25, 26
sign......................................... 124, 131, 204, 257, 268
sign extension.......................................................... 46
sign flag .................................................................. 35
sign masks............................................................... 47
signaling NaN (SNaN) .................................... 129, 255
significand ...................................... 126, 131, 251, 257
SIL register ............................................................. 26
SIMD floating-point exceptions .............................. 178
SIMD operations ............................................ 106, 194
single-instruction, multiple-data (SIMD)...................... 4
single-precision format............................ 127, 206, 251
SNaN............................................................. 129, 255
software interrupts ............................................. 62, 86
SP register......................................................... 25, 26
spatial locality ......................................................... 99
speculative execution ............................................... 93
SPL register............................................................. 26
SQRTPD instruction............................................... 170
SQRTPS instruction ............................................... 170
SQRTSD instruction............................................... 170
SQRTSS instruction ............................................... 170
square root.............................................. 170, 227, 269
SSE................................................... xxiv, 4, 105, 193
SSE2................................................. xxiv, 4, 105, 193
SSE3................................................. xxiv, 4, 105, 193
SSE4A .............................................. xxiv, 4, 105, 193
ST(0)–ST(7) registers ............................................. 240
stack ............................................................... 77, 188
address................................................................. 16
allocation ........................................................... 102
frame ............................................................. 19, 44
operand size ......................................................... 77
operations............................................................. 44
pointer ........................................................... 19, 77
x87 stack fault .................................................... 282
x87 stack management ........................................ 273
x87 stack overflow.............................................. 282
x87 stack underflow ............................................ 282
stack fault (SF) exceptions ...................................... 282
standard functions .................................................... 75
state saving.............................. 156, 188, 223, 234, 290
status word ............................................................ 241
STC instruction........................................................ 63
STD instruction........................................................ 63
STI instruction ......................................................... 63
sticky bits .............................................. xxiv, 118, 242
STMXCSR instruction............................................ 156
STOS instruction...................................................... 58
STOSB instruction ................................................... 58
STOSD instruction ................................................... 58
STOSQ instruction ................................................... 58
STOSW instruction .................................................. 58
streaming store......................... 110, 136, 161, 190, 210
string address........................................................... 16
string instructions............................................... 56, 64
strings ..................................................................... 38
SUB instruction ....................................................... 50
SUBPD instruction................................................. 168
SUBPS instruction ......................................... 167, 168
SUBSD instruction................................................. 168
SUBSS instruction ................................................. 168
subtraction............................................................... 50
sum of absolute differences..................................... 219
swap instructions.................................................... 214
SYSCALL instruction ........................................ 67, 84
SYSENTER instruction ................................ 67, 69, 84
SYSEXIT instruction.................................... 67, 69, 84
SYSRET instruction ........................................... 67, 84
system call and return instructions ....................... 67, 84