Commit 348b376
committed
Silence FPC's below-esp warning in the SHA-256 i386 kernels
FPC flags "lea esp, [esp - $60]" with "Use of -offset(%esp), access
may cause a crash or value may be lost" in the SSE2/SSSE3/AVX SHA-256
i386 kernels. The warning is a false positive - lea is address
arithmetic, not a memory access; the line is the CRYPTOGAMS
flag-neutral spelling of a stack allocation and nothing ever
dereferences below esp. Spelled it "sub esp, $60" instead: no flag
consumer lives between the allocation and the next flag-setting
instruction at any of the three sites, so the forms are equivalent -
and the recurring build noise is gone.1 parent 769e5e5 commit 348b376
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- HashLib/src/Include/Simd/SHA256
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments