1# Check 64bit xsave/xrstor 2 .text 3_start: 4 xgetbv 5 xsetbv 6 7 xsave (%rax) 8 xsave (%r8) 9 xsave (%r8, %rax) 10 xsave (%rax, %r8) 11 xsave (%r8, %r15) 12 xsave64 (%rax) 13 xsave64 (%r8) 14 xsave64 (%r8, %rax) 15 xsave64 (%rax, %r8) 16 xrstor (%rax) 17 xrstor (%r8) 18 xrstor (%r8, %rax) 19 xrstor (%rax, %r8) 20 xrstor (%r8, %r15) 21 xrstor64 (%rax) 22 xrstor64 (%r8) 23 xrstor64 (%r8, %rax) 24 xrstor64 (%rax, %r8) 25 xrstor64 (%r8, %r15) 26 27 xsaveopt (%rax) 28 xsaveopt (%r8) 29 xsaveopt (%r8, %rax) 30 xsaveopt (%rax, %r8) 31 xsaveopt (%r8, %r15) 32 xsaveopt64 (%rax) 33 xsaveopt64 (%r8) 34 xsaveopt64 (%r8, %rax) 35 xsaveopt64 (%rax, %r8) 36 37 .intel_syntax noprefix 38 xsave [rax] 39 xsave [r8] 40 xsave [r8+rax*1] 41 xsave [rax+r8*1] 42 xsave [r8+r15*1] 43 xsave64 [rax] 44 xsave64 [r8] 45 xsave64 [r8+rax*1] 46 xsave64 [rax+r8*1] 47 xrstor [rax] 48 xrstor [r8] 49 xrstor [r8+rax*1] 50 xrstor [rax+r8*1] 51 xrstor [r8+r15*1] 52 xrstor64 [rax] 53 xrstor64 [r8] 54 xrstor64 [r8+rax*1] 55 xrstor64 [rax+r8*1] 56 xrstor64 [r8+r15*1] 57 58 xsaveopt [rax] 59 xsaveopt [r8] 60 xsaveopt [r8+rax*1] 61 xsaveopt [rax+r8*1] 62 xsaveopt [r8+r15*1] 63 xsaveopt64 [rax] 64 xsaveopt64 [r8] 65 xsaveopt64 [r8+rax*1] 66 xsaveopt64 [rax+r8*1] 67