30 | | Illegal instruction |
| 30 | ../../../source/simulation2/helpers/Geometry.cpp: In function 'bool Geometry::TestRaySquare(CFixedVector2D, CFixedVector2D, CFixedVector2D, CFixedVector2D, CFixedVector2D)': |
| 31 | ../../../source/simulation2/helpers/Geometry.cpp:239:1: error: unable to find a register to spill in class 'LO_REGS' |
| 32 | ../../../source/simulation2/helpers/Geometry.cpp:239:1: error: this is the insn: |
| 33 | (insn 75 20 17 2 (set (reg/v:DI 141 [ sum ]) |
| 34 | (plus:DI (mult:DI (sign_extend:DI (reg:SI 245 [ a$value ])) |
| 35 | (sign_extend:DI (reg:SI 241 [ u$value ]))) |
| 36 | (reg/v:DI 141 [ sum ]))) ../../../source/maths/FixedVector2D.h:200 49 {*mulsidi3adddi_v6} |
| 37 | (nil)) |
| 38 | ../../../source/simulation2/helpers/Geometry.cpp:239: confused by earlier errors, bailing out |
32 | | As discussed with Philip on irc http://irclogs.wildfiregames.com/2013-09-07-QuakeNet-%230ad-dev.log : |
33 | | {{{ |
34 | | 16:51 < Philip`> We're building with "-mtune=cortex-a15 -mfpu=neon-vfpv4" so I suppose it's possible the compiler is using some VFPv4-only instructions |
35 | | 16:54 < fabio4> it was changed recently: http://trac.wildfiregames.com/changeset?reponame=&new=13634%40ps%2Ftrunk%2Fbuild%2Fpremake%2Fpremake4.lua&old=13469%40ps%2Ftrunk%2Fbuild%2Fpremake%2Fpremake4.lua |
36 | | 16:55 < Philip`> fabio4: Yeah, it was changed to match a Chromebook |
37 | | 16:55 < Philip`> fabio4: (unnecessarily, I think) |
38 | | 16:56 < Philip`> (or at least the -mfpu=neon-vfpv4 thing is probably unnecessary) |
39 | | 16:57 < Philip`> (and tuning for Cortex-A15 is generally terrible if the code actually runs on any other kind of Cortex) |
40 | | }}} |
41 | | -mfloat-abi=hard is also probably already implied by the architecture. |