Test temporary change in source.dif, mainly for ppc64le

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=422
This commit is contained in:
Dr. Werner Fink 2022-10-28 09:27:55 +00:00 committed by Git OBS Bridge
parent 75ecdf652e
commit 2b4a68bc6f

View File

@ -45,6 +45,35 @@
# for icu data location
ifeq ($(PKGDATA_MODE),common)
--- texk/dvisvgm/dvisvgm-src/libs/xxHash/xxhash.h
+++ texk/dvisvgm/dvisvgm-src/libs/xxHash/xxhash.h 2022-10-28 08:55:05.465324386 +0000
@@ -4128,7 +4128,7 @@ XXH3_accumulate_512_vsx( void* XXH_REST
const void* XXH_RESTRICT secret)
{
/* presumed aligned */
- unsigned long long* const xacc = (unsigned long long*) acc;
+ unsigned int* const xacc = (unsigned int*) acc;
xxh_u64x2 const* const xinput = (xxh_u64x2 const*) input; /* no alignment restriction */
xxh_u64x2 const* const xsecret = (xxh_u64x2 const*) secret; /* no alignment restriction */
xxh_u64x2 const v32 = { 32, 32 };
@@ -4144,7 +4144,7 @@ XXH3_accumulate_512_vsx( void* XXH_REST
/* product = ((xxh_u64x2)data_key & 0xFFFFFFFF) * ((xxh_u64x2)shuffled & 0xFFFFFFFF); */
xxh_u64x2 const product = XXH_vec_mulo((xxh_u32x4)data_key, shuffled);
/* acc_vec = xacc[i]; */
- xxh_u64x2 acc_vec = vec_xl(0, xacc + 2 * i);
+ xxh_u64x2 acc_vec = (xxh_u64x2)vec_xl(0, xacc + 2 * i);
acc_vec += product;
/* swap high and low halves */
@@ -4154,7 +4154,7 @@ XXH3_accumulate_512_vsx( void* XXH_REST
acc_vec += vec_xxpermdi(data_vec, data_vec, 2);
#endif
/* xacc[i] = acc_vec; */
- vec_xst(acc_vec, 0, xacc + 2 * i);
+ vec_xst((xxh_u32x4)acc_vec, 0, xacc + 2 * i);
}
}
--- texk/dviljk/dvi2xx.c
+++ texk/dviljk/dvi2xx.c 2021-04-07 10:14:44.206880772 +0000
@@ -168,7 +168,18 @@ main(int argc, char *argv[])