Skip to content

Commit 6163871

Browse files
committed
Add non-atomic exchange version
1 parent 9e61d9f commit 6163871

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

arch/arm/android/genlibs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function gen_opus {
158158

159159
function gen_fthb {
160160
(cd $FREETYPE
161-
./configure --host=$TARGET --prefix=$TOOLCHAIN/sysroot/usr/ --includedir=$TOOLCHAIN/sysroot/usr/include/harfbuzz --with-png=yes --with-bzip2=no --with-zlib=no --with-harfbuzz=yes
161+
./configure --host=$TARGET --prefix=$TOOLCHAIN/sysroot/usr/ --includedir=$TOOLCHAIN/sysroot/usr/include/harfbuzz --with-png=yes --with-bzip2=yes --with-zlib=no --with-harfbuzz=yes
162162
make clean
163163
make -j$nprocs
164164
make install)

freetype-gl/texture-font.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ texture_font_generate_kerning( texture_font_t *self,
254254

255255
int
256256
texture_is_color_font( texture_font_t *self) {
257-
return FT_HAS_COLOR(self->face);
257+
FT_HAS_COLOR(self->face);
258258
}
259259

260260
// -------------------------------------------------- texture_font_set_size ---

minos2/font-style.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ font-lang to emoji-font#
611611
2 font-lang >breakable
612612
\sans \regular
613613
\ color-fonts= NotoColorEmoji-SVG|EmojiOneColor-SVGinOT|TwitterColorEmoji-SVGinOT
614-
color-fonts= NotoColorEmojiLegacy|NotoColorEmoji-Regular|NotoColorEmoji|emojione-android|Twemoji|SamsungColorEmoji|OpenMoji-Color
614+
color-fonts= NotoColorEmojiLegacy|NotoColorEmoji-PNG|NotoColorEmoji-Regular|NotoColorEmoji|emojione-android|Twemoji|SamsungColorEmoji|OpenMoji-Color
615615
fonts[ssm]=same
616616
{{ $20000 $1F000 }} 2/ +ranges
617617
[THEN]

prim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3459,6 +3459,11 @@ __atomic_thread_fence(__ATOMIC_RELEASE);
34593459
__sync_synchronize();
34603460
#endif
34613461

3462+
!~@ ( u1 a_addr -- u2 ) gforth-experimental store_nonatomic_fetch
3463+
""load @var{u2} from @var{a_addr}, and store @var{u1} there, as non-atomic operation""
3464+
u2 = *a_addr;
3465+
*a_addr = u1;
3466+
34623467
\g peephole
34633468

34643469
\+peephole

0 commit comments

Comments
 (0)