@@ -243,7 +243,7 @@ define <4 x double> @trunc_unsigned_v4f64(<4 x double> %x) #0 {
243
243
ret <4 x double > %r
244
244
}
245
245
246
- define float @trunc_signed_f32_no_fast_math (float %x ) {
246
+ define float @trunc_signed_f32_no_fast_math (float %x ) nounwind {
247
247
; SSE-LABEL: trunc_signed_f32_no_fast_math:
248
248
; SSE: # %bb.0:
249
249
; SSE-NEXT: cvttps2dq %xmm0, %xmm0
@@ -259,14 +259,12 @@ define float @trunc_signed_f32_no_fast_math(float %x) {
259
259
; X86-AVX1-LABEL: trunc_signed_f32_no_fast_math:
260
260
; X86-AVX1: # %bb.0:
261
261
; X86-AVX1-NEXT: pushl %eax
262
- ; X86-AVX1-NEXT: .cfi_def_cfa_offset 8
263
262
; X86-AVX1-NEXT: vmovss {{.*#+}} xmm0 = mem[0],zero,zero,zero
264
263
; X86-AVX1-NEXT: vcvttps2dq %xmm0, %xmm0
265
264
; X86-AVX1-NEXT: vcvtdq2ps %xmm0, %xmm0
266
265
; X86-AVX1-NEXT: vmovss %xmm0, (%esp)
267
266
; X86-AVX1-NEXT: flds (%esp)
268
267
; X86-AVX1-NEXT: popl %eax
269
- ; X86-AVX1-NEXT: .cfi_def_cfa_offset 4
270
268
; X86-AVX1-NEXT: retl
271
269
%i = fptosi float %x to i32
272
270
%r = sitofp i32 %i to float
@@ -306,7 +304,7 @@ define float @trunc_signed_f32_nsz(float %x) #0 {
306
304
ret float %r
307
305
}
308
306
309
- define double @trunc_signed32_f64_no_fast_math (double %x ) {
307
+ define double @trunc_signed32_f64_no_fast_math (double %x ) nounwind {
310
308
; SSE-LABEL: trunc_signed32_f64_no_fast_math:
311
309
; SSE: # %bb.0:
312
310
; SSE-NEXT: cvttpd2dq %xmm0, %xmm0
@@ -322,10 +320,7 @@ define double @trunc_signed32_f64_no_fast_math(double %x) {
322
320
; X86-AVX1-LABEL: trunc_signed32_f64_no_fast_math:
323
321
; X86-AVX1: # %bb.0:
324
322
; X86-AVX1-NEXT: pushl %ebp
325
- ; X86-AVX1-NEXT: .cfi_def_cfa_offset 8
326
- ; X86-AVX1-NEXT: .cfi_offset %ebp, -8
327
323
; X86-AVX1-NEXT: movl %esp, %ebp
328
- ; X86-AVX1-NEXT: .cfi_def_cfa_register %ebp
329
324
; X86-AVX1-NEXT: andl $-8, %esp
330
325
; X86-AVX1-NEXT: subl $8, %esp
331
326
; X86-AVX1-NEXT: vmovsd {{.*#+}} xmm0 = mem[0],zero
@@ -335,7 +330,6 @@ define double @trunc_signed32_f64_no_fast_math(double %x) {
335
330
; X86-AVX1-NEXT: fldl (%esp)
336
331
; X86-AVX1-NEXT: movl %ebp, %esp
337
332
; X86-AVX1-NEXT: popl %ebp
338
- ; X86-AVX1-NEXT: .cfi_def_cfa %esp, 4
339
333
; X86-AVX1-NEXT: retl
340
334
%i = fptosi double %x to i32
341
335
%r = sitofp i32 %i to double
@@ -377,7 +371,7 @@ define double @trunc_signed32_f64_nsz(double %x) #0 {
377
371
ret double %r
378
372
}
379
373
380
- define double @trunc_f32_signed32_f64_no_fast_math (float %x ) {
374
+ define double @trunc_f32_signed32_f64_no_fast_math (float %x ) nounwind {
381
375
; SSE-LABEL: trunc_f32_signed32_f64_no_fast_math:
382
376
; SSE: # %bb.0:
383
377
; SSE-NEXT: cvttps2dq %xmm0, %xmm0
@@ -393,10 +387,7 @@ define double @trunc_f32_signed32_f64_no_fast_math(float %x) {
393
387
; X86-AVX1-LABEL: trunc_f32_signed32_f64_no_fast_math:
394
388
; X86-AVX1: # %bb.0:
395
389
; X86-AVX1-NEXT: pushl %ebp
396
- ; X86-AVX1-NEXT: .cfi_def_cfa_offset 8
397
- ; X86-AVX1-NEXT: .cfi_offset %ebp, -8
398
390
; X86-AVX1-NEXT: movl %esp, %ebp
399
- ; X86-AVX1-NEXT: .cfi_def_cfa_register %ebp
400
391
; X86-AVX1-NEXT: andl $-8, %esp
401
392
; X86-AVX1-NEXT: subl $8, %esp
402
393
; X86-AVX1-NEXT: vmovss {{.*#+}} xmm0 = mem[0],zero,zero,zero
@@ -406,7 +397,6 @@ define double @trunc_f32_signed32_f64_no_fast_math(float %x) {
406
397
; X86-AVX1-NEXT: fldl (%esp)
407
398
; X86-AVX1-NEXT: movl %ebp, %esp
408
399
; X86-AVX1-NEXT: popl %ebp
409
- ; X86-AVX1-NEXT: .cfi_def_cfa %esp, 4
410
400
; X86-AVX1-NEXT: retl
411
401
%i = fptosi float %x to i32
412
402
%r = sitofp i32 %i to double
@@ -445,7 +435,7 @@ define double @trunc_f32_signed32_f64_nsz(float %x) #0 {
445
435
ret double %r
446
436
}
447
437
448
- define float @trunc_f64_signed32_f32_no_fast_math (double %x ) {
438
+ define float @trunc_f64_signed32_f32_no_fast_math (double %x ) nounwind {
449
439
; SSE-LABEL: trunc_f64_signed32_f32_no_fast_math:
450
440
; SSE: # %bb.0:
451
441
; SSE-NEXT: cvttpd2dq %xmm0, %xmm0
@@ -461,14 +451,12 @@ define float @trunc_f64_signed32_f32_no_fast_math(double %x) {
461
451
; X86-AVX1-LABEL: trunc_f64_signed32_f32_no_fast_math:
462
452
; X86-AVX1: # %bb.0:
463
453
; X86-AVX1-NEXT: pushl %eax
464
- ; X86-AVX1-NEXT: .cfi_def_cfa_offset 8
465
454
; X86-AVX1-NEXT: vmovsd {{.*#+}} xmm0 = mem[0],zero
466
455
; X86-AVX1-NEXT: vcvttpd2dq %xmm0, %xmm0
467
456
; X86-AVX1-NEXT: vcvtdq2ps %xmm0, %xmm0
468
457
; X86-AVX1-NEXT: vmovss %xmm0, (%esp)
469
458
; X86-AVX1-NEXT: flds (%esp)
470
459
; X86-AVX1-NEXT: popl %eax
471
- ; X86-AVX1-NEXT: .cfi_def_cfa_offset 4
472
460
; X86-AVX1-NEXT: retl
473
461
%i = fptosi double %x to i32
474
462
%r = sitofp i32 %i to float
@@ -503,7 +491,7 @@ define float @trunc_f64_signed32_f32_nsz(double %x) #0 {
503
491
ret float %r
504
492
}
505
493
506
- define double @trunc_signed_f64_no_fast_math (double %x ) {
494
+ define double @trunc_signed_f64_no_fast_math (double %x ) nounwind {
507
495
; SSE-LABEL: trunc_signed_f64_no_fast_math:
508
496
; SSE: # %bb.0:
509
497
; SSE-NEXT: cvttsd2si %xmm0, %rax
@@ -520,10 +508,7 @@ define double @trunc_signed_f64_no_fast_math(double %x) {
520
508
; X86-AVX1-LABEL: trunc_signed_f64_no_fast_math:
521
509
; X86-AVX1: # %bb.0:
522
510
; X86-AVX1-NEXT: pushl %ebp
523
- ; X86-AVX1-NEXT: .cfi_def_cfa_offset 8
524
- ; X86-AVX1-NEXT: .cfi_offset %ebp, -8
525
511
; X86-AVX1-NEXT: movl %esp, %ebp
526
- ; X86-AVX1-NEXT: .cfi_def_cfa_register %ebp
527
512
; X86-AVX1-NEXT: andl $-8, %esp
528
513
; X86-AVX1-NEXT: subl $24, %esp
529
514
; X86-AVX1-NEXT: vmovsd {{.*#+}} xmm0 = mem[0],zero
@@ -537,7 +522,6 @@ define double @trunc_signed_f64_no_fast_math(double %x) {
537
522
; X86-AVX1-NEXT: fldl {{[0-9]+}}(%esp)
538
523
; X86-AVX1-NEXT: movl %ebp, %esp
539
524
; X86-AVX1-NEXT: popl %ebp
540
- ; X86-AVX1-NEXT: .cfi_def_cfa %esp, 4
541
525
; X86-AVX1-NEXT: retl
542
526
%i = fptosi double %x to i64
543
527
%r = sitofp i64 %i to double
0 commit comments