Debian Codegraph @

arch/x86_64/rsp/gcc/vxor.s

raw
1 //
2 // arch/x86_64/rsp/gcc/vxor.s
3 //
4 // CEN64: Cycle-Accurate Nintendo 64 Emulator.
5 // Copyright (C) 2015, Tyler J. Stachecki.
6 //
7 // This file is subject to the terms and conditions defined in
8 // 'LICENSE', which is part of this source code package.
9 //
10
11 .include "rsp/gcc/defs.h"
12
13 .text
14
15 .ifdef __MINGW__
16 .globl RSP_VXOR
17 .def RSP_VXOR; .scl 2; .type 32; .endef
18 .seh_proc RSP_VXOR
19 .ifndef __VECTORCALL__
20 RSP_VXOR:
21 movdqa (%r8), %xmm0
22 movdqa (%r9), %xmm1
23 #pxor %xmm2, %xmm2
24 .endif
25 .else
26 .global RSP_VXOR
27 .type RSP_VXOR, @function
28 RSP_VXOR:
29 .endif
30
31 pxor %xmm1, %xmm0
32 movdqa %xmm0, acc_lo
33 retq
34
35 .ifdef __MINGW__
36 .seh_endproc
37 .else
38 .size RSP_VXOR,.-RSP_VXOR
39 .endif
40