Commit a1bffbf
committed
Fix CI buildbot failures: MSVC C89, SSE2 32-bit, webOS cross-compile
- libretro.c: Move extern declarations to top of function blocks for
MSVC 2005/2010 C89 compliance (error C2143 mid-block declarations)
- blitter_simd_sse2.c: Replace _mm_cvtsi128_si64 with _mm_storel_epi64
helper — the former only exists on x86_64, breaking 32-bit x86 builds
(Linux i686, Windows i686 MinGW). Also fix C89 mid-block declaration
in sse2_zcomp and sse2_byte_merge.
- Makefile.common: Detect cross-compiler prefixes (arm-, aarch64-, mips,
powerpc) in CC to skip host uname -m SIMD fallback. Fixes webOS ARM
build getting SSE2 when built on an x86_64 host.
Made-with: Cursor1 parent 065c8b3 commit a1bffbf
3 files changed
Lines changed: 28 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
112 | 114 | | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| |||
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
| 784 | + | |
| 785 | + | |
784 | 786 | | |
785 | 787 | | |
786 | 788 | | |
| |||
802 | 804 | | |
803 | 805 | | |
804 | 806 | | |
805 | | - | |
806 | 807 | | |
807 | 808 | | |
808 | 809 | | |
809 | | - | |
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
| 841 | + | |
| 842 | + | |
841 | 843 | | |
842 | 844 | | |
843 | 845 | | |
| |||
857 | 859 | | |
858 | 860 | | |
859 | 861 | | |
860 | | - | |
861 | 862 | | |
862 | 863 | | |
863 | 864 | | |
864 | | - | |
865 | 865 | | |
866 | 866 | | |
867 | 867 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
13 | 24 | | |
14 | 25 | | |
15 | 26 | | |
| |||
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
44 | | - | |
| 55 | + | |
45 | 56 | | |
46 | 57 | | |
47 | 58 | | |
| |||
75 | 86 | | |
76 | 87 | | |
77 | 88 | | |
| 89 | + | |
78 | 90 | | |
79 | 91 | | |
80 | 92 | | |
| |||
107 | 119 | | |
108 | 120 | | |
109 | 121 | | |
110 | | - | |
111 | 122 | | |
112 | 123 | | |
113 | 124 | | |
| |||
129 | 140 | | |
130 | 141 | | |
131 | 142 | | |
| 143 | + | |
| 144 | + | |
132 | 145 | | |
133 | 146 | | |
134 | 147 | | |
| |||
137 | 150 | | |
138 | 151 | | |
139 | 152 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
143 | 156 | | |
144 | 157 | | |
145 | | - | |
| 158 | + | |
146 | 159 | | |
147 | 160 | | |
148 | 161 | | |
149 | 162 | | |
150 | | - | |
| 163 | + | |
151 | 164 | | |
152 | 165 | | |
153 | 166 | | |
| |||
0 commit comments