Skip to content

Commit 880d0ca

Browse files
committed
update the comment in testcase
1 parent 2f5ca3b commit 880d0ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/CodeGen/X86/combine-vpmadd52.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,17 @@ define <2 x i64> @test_vpmadd52l_mul_zero_scalar(<2 x i64> %x0, <2 x i64> %x1) {
184184
ret <2 x i64> %1
185185
}
186186

187+
; (1 << 51) * (1 << 1) -> 1 << 52 -> low 52 bits are zeroes
187188
define <2 x i64> @test_vpmadd52l_mul_lo52_zero(<2 x i64> %x0) {
188-
; (1 << 51) * (1 << 1) -> 1 << 52 -> low 52 bits are zeroes
189189
; CHECK-LABEL: test_vpmadd52l_mul_lo52_zero:
190190
; CHECK: # %bb.0:
191191
; CHECK-NEXT: retq
192192
%1 = call <2 x i64> @llvm.x86.avx512.vpmadd52l.uq.128(<2 x i64> %x0, <2 x i64> splat (i64 2251799813685248), <2 x i64> splat (i64 2))
193193
ret <2 x i64> %1
194194
}
195195

196+
; (1 << 25) * (1 << 26) = 1 << 51 -> high 52 bits are zeroes
196197
define <2 x i64> @test_vpmadd52h_mul_hi52_zero(<2 x i64> %x0) {
197-
; (1 << 25) * (1 << 26) = 1 << 51 -> high 52 bits are zeroes
198198
; CHECK-LABEL: test_vpmadd52h_mul_hi52_zero:
199199
; CHECK: # %bb.0:
200200
; CHECK-NEXT: retq
@@ -216,8 +216,8 @@ define <2 x i64> @test_vpmadd52l_mul_lo52_const(<2 x i64> %x0) {
216216
ret <2 x i64> %1
217217
}
218218

219+
; (1 << 51) * (1 << 51) -> 1 << 102 -> the high 52 bits is 1 << 50
219220
define <2 x i64> @test_vpmadd52h_mul_hi52_const(<2 x i64> %x0) {
220-
; (1 << 51) * (1 << 51) -> 1 << 102 -> the high 52 bits is 1 << 50
221221
; AVX512-LABEL: test_vpmadd52h_mul_hi52_const:
222222
; AVX512: # %bb.0:
223223
; AVX512-NEXT: vpaddq {{\.?LCPI[0-9]+_[0-9]+}}(%rip){1to2}, %xmm0, %xmm0

0 commit comments

Comments
 (0)