Use explicitly-sized integer type in C predicate.
I agree to license my contributions to each file under the terms given at the top of each file I changed.
This commit is contained in:
parent
bf81a2987d
commit
ee84bc9b80
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
extern uint32_t GFp_armcap_P;
|
extern uint32_t GFp_armcap_P;
|
||||||
|
|
||||||
char GFp_is_NEON_capable_at_runtime(void) {
|
uint8_t GFp_is_NEON_capable_at_runtime(void) {
|
||||||
return (GFp_armcap_P & ARMV7_NEON) != 0;
|
return (GFp_armcap_P & ARMV7_NEON) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ extern uint32_t GFp_ia32cap_P[4];
|
|||||||
/* GFp_is_NEON_capable_at_runtime returns true if the current CPU has a NEON
|
/* GFp_is_NEON_capable_at_runtime returns true if the current CPU has a NEON
|
||||||
* unit. Note that |OPENSSL_armcap_P| also exists and contains the same
|
* unit. Note that |OPENSSL_armcap_P| also exists and contains the same
|
||||||
* information in a form that's easier for assembly to use. */
|
* information in a form that's easier for assembly to use. */
|
||||||
OPENSSL_EXPORT char GFp_is_NEON_capable_at_runtime(void);
|
OPENSSL_EXPORT uint8_t GFp_is_NEON_capable_at_runtime(void);
|
||||||
|
|
||||||
/* GFp_is_NEON_capable returns true if the current CPU has a NEON unit. If
|
/* GFp_is_NEON_capable returns true if the current CPU has a NEON unit. If
|
||||||
* this is known statically then it returns one immediately. */
|
* this is known statically then it returns one immediately. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user