< prev index next >

src/java.desktop/share/native/common/awt/medialib/mlib_ImageCopy_Bit.c

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 254,266 **** sp++; ls_offset = ls_offset + j - 64; } if (j < size) lsrc1 = sp[0]; - #ifdef __SUNPRO_C - #pragma pipeloop(0) - #endif /* __SUNPRO_C */ for (; j <= size - 64; j += 64) { lsrc0 = lsrc1; lsrc1 = sp[1]; lsrc = (lsrc0 << ls_offset) | (lsrc1 >> (64 - ls_offset)); dp[0] = lsrc; --- 254,263 ----
*** 385,397 **** if (j < size) src1 = sp[0]; #ifdef _LITTLE_ENDIAN src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); #endif /* _LITTLE_ENDIAN */ - #ifdef __SUNPRO_C - #pragma pipeloop(0) - #endif /* __SUNPRO_C */ for (; j <= size - 32; j += 32) { src0 = src1; src1 = sp[-1]; #ifdef _LITTLE_ENDIAN src1 = (src1 << 24) | ((src1 & 0xFF00) << 8) | ((src1 >> 8) & 0xFF00) | (src1 >> 24); --- 382,391 ----
*** 476,488 **** sp--; ls_offset = ls_offset - j + 64; } if (j < size) lsrc1 = sp[0]; - #ifdef __SUNPRO_C - #pragma pipeloop(0) - #endif /* __SUNPRO_C */ for (; j <= size - 64; j += 64) { lsrc0 = lsrc1; lsrc1 = sp[-1]; dp[0] = (lsrc0 >> (64 - ls_offset)) | (lsrc1 << ls_offset); sp--; --- 470,479 ----
< prev index next >