]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/cfi/cfi-x86_64.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / cfi / cfi-x86_64.s
index c2e2464b3630e254ae4f2a6b8ef3ef2f9da4e6f0..65c2aa2759540c20179f12ed03d586996384d9ab 100644 (file)
@@ -1,5 +1,3 @@
-#; $ as -o test.o gas-cfi-test.s && gcc -nostdlib -o test test.o
-
        .text
 
 #; func_locvars
@@ -136,3 +134,81 @@ func_alldirectives:
        .cfi_restore_state
        ret
        .cfi_endproc
+
+#; func_all_registers
+#; - test for all .cfi register numbers. 
+#;   This function is never called and the CFI info doesn't make sense.
+
+       .type   func_all_registers,@function
+func_all_registers:
+       .cfi_startproc simple
+
+       .cfi_undefined rip      ; nop
+       .cfi_undefined rax      ; nop
+       .cfi_undefined rcx      ; nop
+       .cfi_undefined rdx      ; nop
+       .cfi_undefined rbx      ; nop
+       .cfi_undefined rsp      ; nop
+       .cfi_undefined rbp      ; nop
+       .cfi_undefined rsi      ; nop
+       .cfi_undefined rdi      ; nop
+       .cfi_undefined r8       ; nop
+       .cfi_undefined r9       ; nop
+       .cfi_undefined r10      ; nop
+       .cfi_undefined r11      ; nop
+       .cfi_undefined r12      ; nop
+       .cfi_undefined r13      ; nop
+       .cfi_undefined r14      ; nop
+       .cfi_undefined r15      ; nop
+       .cfi_undefined rflags   ; nop
+
+       .cfi_undefined es       ; nop
+       .cfi_undefined cs       ; nop
+       .cfi_undefined ds       ; nop
+       .cfi_undefined ss       ; nop
+       .cfi_undefined fs       ; nop
+       .cfi_undefined gs       ; nop
+       .cfi_undefined tr       ; nop
+       .cfi_undefined ldtr     ; nop
+       .cfi_undefined fs.base  ; nop
+       .cfi_undefined gs.base  ; nop
+
+       .cfi_undefined mxcsr    ; nop
+       .cfi_undefined xmm0     ; nop
+       .cfi_undefined xmm1     ; nop
+       .cfi_undefined xmm2     ; nop
+       .cfi_undefined xmm3     ; nop
+       .cfi_undefined xmm4     ; nop
+       .cfi_undefined xmm5     ; nop
+       .cfi_undefined xmm6     ; nop
+       .cfi_undefined xmm7     ; nop
+       .cfi_undefined xmm8     ; nop
+       .cfi_undefined xmm9     ; nop
+       .cfi_undefined xmm10    ; nop
+       .cfi_undefined xmm11    ; nop
+       .cfi_undefined xmm12    ; nop
+       .cfi_undefined xmm13    ; nop
+       .cfi_undefined xmm14    ; nop
+       .cfi_undefined xmm15    ; nop
+
+       .cfi_undefined fcw      ; nop
+       .cfi_undefined fsw      ; nop
+       .cfi_undefined st       ; nop
+       .cfi_undefined st(1)    ; nop
+       .cfi_undefined st(2)    ; nop
+       .cfi_undefined st(3)    ; nop
+       .cfi_undefined st(4)    ; nop
+       .cfi_undefined st(5)    ; nop
+       .cfi_undefined st(6)    ; nop
+       .cfi_undefined st(7)    ; nop
+
+       .cfi_undefined mm0      ; nop
+       .cfi_undefined mm1      ; nop
+       .cfi_undefined mm2      ; nop
+       .cfi_undefined mm3      ; nop
+       .cfi_undefined mm4      ; nop
+       .cfi_undefined mm5      ; nop
+       .cfi_undefined mm6      ; nop
+       .cfi_undefined mm7      ; nop
+
+       .cfi_endproc