regressions/ck_pr: Disable width checks on bi-endian architectures.

ck_pring
Samy Al Bahra 12 years ago
parent 1d61147c01
commit 98660bf560

@ -83,6 +83,11 @@ static void
rg_width(int m) rg_width(int m)
{ {
/* Other architectures are bi-endian. */
#if !defined(__x86__) && !defined(__x86_64__)
return;
#endif
#ifdef CK_F_PR_CAS_64 #ifdef CK_F_PR_CAS_64
if (m == 64) { if (m == 64) {
#if defined(CK_F_PR_CAS_32) #if defined(CK_F_PR_CAS_32)

@ -85,6 +85,11 @@ static void
rg_width(int m) rg_width(int m)
{ {
/* Other architectures are bi-endian. */
#if !defined(__x86__) && !defined(__x86_64__)
return;
#endif
#ifdef CK_F_PR_FAA_64 #ifdef CK_F_PR_FAA_64
if (m == 64) { if (m == 64) {
#if defined(CK_F_PR_FAA_32) #if defined(CK_F_PR_FAA_32)

@ -76,6 +76,11 @@ static void
rg_width(int m) rg_width(int m)
{ {
/* Other architectures are bi-endian. */
#if !defined(__x86__) && !defined(__x86_64__)
return;
#endif
#ifdef CK_F_PR_STORE_64 #ifdef CK_F_PR_STORE_64
if (m == 64) { if (m == 64) {
#if defined(CK_F_PR_STORE_32) #if defined(CK_F_PR_STORE_32)

Loading…
Cancel
Save