File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 60
60
#ifdef WINDOWS_ABI
61
61
movq 40 (%rsp ), X
62
62
movq 48 (%rsp ), INCX
63
-
63
+ movq 64 ( %rsp ), %r9
64
64
movaps %xmm3 , %xmm0
65
+ #else
66
+ movq 24 (%rsp ), %r9
65
67
#endif
66
68
67
69
SAVEREGISTERS
76
78
shufps $0 , %xmm0 , %xmm0
77
79
78
80
jne .L100 # Alpha != ZERO
81
+
82
+ cmpq $1 , %r9
79
83
je .L100
80
84
/* Alpha == ZERO */
81
85
cmpq $SIZE, INCX
Original file line number Diff line number Diff line change 48
48
#define X ARG2
49
49
#define INCX ARG3
50
50
#endif
51
+ #define FLAG %r9
51
52
52
53
#define XX %r10
53
54
#define I %rax
60
61
#ifdef WINDOWS_ABI
61
62
movq 40 (%rsp ), X
62
63
movq 48 (%rsp ), INCX
63
-
64
+ movq 64 ( %rsp ), FLAG
64
65
movaps %xmm3 , %xmm0
66
+ #else
67
+ movq 24 (%rsp ), FLAG
65
68
#endif
66
69
67
70
SAVEREGISTERS
75
78
comisd %xmm0 , %xmm1
76
79
jne .L100 # Alpha != ZERO
77
80
jp .L100 # For Alpha = NaN
81
+
82
+ cmpq $1 , FLAG
78
83
je .L100 # disable the Alpha=zero path as it does not handle x=inf or nan
79
84
/* Alpha == ZERO */
80
85
cmpq $SIZE, INCX
You can’t perform that action at this time.
0 commit comments