1
0
mirror of https://github.com/prirun/p50em.git synced 2026-03-09 03:49:25 +00:00

em: move #define to force inline to start of code

This commit is contained in:
Jim
2020-03-09 22:36:26 -04:00
parent 364792c169
commit 1624437939

8
em.c
View File

@@ -1,5 +1,3 @@
#define inline inline __attribute__((always_inline))
/* Pr1me Computer emulator, Jim Wilcoxson (prirun@gmail.com), April 4, 2005
Copyright (C) 2005-2019, Jim Wilcoxson. All Rights Reserved.
@@ -50,7 +48,7 @@ Enter 'SET DCM' to display CASE messages.
Enter 'LOAD;RUN' for Default Execution
SAM>
--------------
Usage: to load initial boot from tape, then prompt for disk pdev
@@ -108,6 +106,10 @@ gv.tracetriggered = 1; this simulates the Ctrl-t.
*/
/* force GCC to honor inline for about a 25% speed-up */
#define inline inline __attribute__((always_inline))
#ifdef __APPLE__
#define OSX 1
#endif