• Home
  • Raw
  • Download

Lines Matching refs:MOVBE

3 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+movbe | FileCheck %s --check-prefix=X86-MOVBE
5 …RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+movbe | FileCheck %s --check-prefix=X64-MOVBE
20 ; X86-MOVBE-LABEL: bswap_i64:
21 ; X86-MOVBE: # %bb.0:
22 ; X86-MOVBE-NEXT: movbel {{[0-9]+}}(%esp), %eax
23 ; X86-MOVBE-NEXT: movbel {{[0-9]+}}(%esp), %edx
24 ; X86-MOVBE-NEXT: retl
32 ; X64-MOVBE-LABEL: bswap_i64:
33 ; X64-MOVBE: # %bb.0:
34 ; X64-MOVBE-NEXT: movq %rdi, %rax
35 ; X64-MOVBE-NEXT: bswapq %rax
36 ; X64-MOVBE-NEXT: retq
63 ; X86-MOVBE-LABEL: bswap_i128:
64 ; X86-MOVBE: # %bb.0:
65 ; X86-MOVBE-NEXT: pushl %edi
66 ; X86-MOVBE-NEXT: pushl %esi
67 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %eax
68 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
69 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %edx
70 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %esi
71 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %edi
72 ; X86-MOVBE-NEXT: movbel %esi, 12(%eax)
73 ; X86-MOVBE-NEXT: movbel %edi, 8(%eax)
74 ; X86-MOVBE-NEXT: movbel %edx, 4(%eax)
75 ; X86-MOVBE-NEXT: movbel %ecx, (%eax)
76 ; X86-MOVBE-NEXT: popl %esi
77 ; X86-MOVBE-NEXT: popl %edi
78 ; X86-MOVBE-NEXT: retl $4
88 ; X64-MOVBE-LABEL: bswap_i128:
89 ; X64-MOVBE: # %bb.0:
90 ; X64-MOVBE-NEXT: movq %rsi, %rax
91 ; X64-MOVBE-NEXT: bswapq %rax
92 ; X64-MOVBE-NEXT: bswapq %rdi
93 ; X64-MOVBE-NEXT: movq %rdi, %rdx
94 ; X64-MOVBE-NEXT: retq
129 ; X86-MOVBE-LABEL: bswap_i256:
130 ; X86-MOVBE: # %bb.0:
131 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %eax
132 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
133 ; X86-MOVBE-NEXT: movbel %ecx, 28(%eax)
134 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
135 ; X86-MOVBE-NEXT: movbel %ecx, 24(%eax)
136 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
137 ; X86-MOVBE-NEXT: movbel %ecx, 20(%eax)
138 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
139 ; X86-MOVBE-NEXT: movbel %ecx, 16(%eax)
140 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
141 ; X86-MOVBE-NEXT: movbel %ecx, 12(%eax)
142 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
143 ; X86-MOVBE-NEXT: movbel %ecx, 8(%eax)
144 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
145 ; X86-MOVBE-NEXT: movbel %ecx, 4(%eax)
146 ; X86-MOVBE-NEXT: movl {{[0-9]+}}(%esp), %ecx
147 ; X86-MOVBE-NEXT: movbel %ecx, (%eax)
148 ; X86-MOVBE-NEXT: retl $4
163 ; X64-MOVBE-LABEL: bswap_i256:
164 ; X64-MOVBE: # %bb.0:
165 ; X64-MOVBE-NEXT: movq %rdi, %rax
166 ; X64-MOVBE-NEXT: movbeq %rsi, 24(%rdi)
167 ; X64-MOVBE-NEXT: movbeq %rdx, 16(%rdi)
168 ; X64-MOVBE-NEXT: movbeq %rcx, 8(%rdi)
169 ; X64-MOVBE-NEXT: movbeq %r8, (%rdi)
170 ; X64-MOVBE-NEXT: retq