Yes, dbp will be for optimized port, and stuff not found on regular Debian repo (PaleMoon for example, not sure it's on Debian).
The optimise settings is a whole question.
There has been some debate in the Pandora, on the best C/C++ optimize flags.
On the Pyra, we have a cortex-a15 cpu, with Neon/vfpv4 and we are on hard float.
So, the minimum CFLAGS / CXXFLAGS would be
Code:
-mcpu=cortex-a15 -mfpu=neon-vfvp4 -mfloat-abi=hard
Now, fast-math can probably be added, as it may help with vectorizing some float math.
single-precision-constant may also be added, but I'm less sure of the effect of this one on the Pyra CPU, this has to be tested (and this one can have some negative effect on the building, requiring many sources adaptations).
What I also found out, is that, by default (at least on the gcc 6.3 that comes with the current OS on the Pyra), the compilation target "Thumb" mode. So while it's pretty much transparent on most software, for emulator having a JIT, it can be significant. So I'll force arm mode for my custom compile for now, and I'll add the thumb-interworking flag to stay on the safe side.
So for now, my current CFLAGS is
Code:
-mcpu=cortex-a15 -mfpu=neon-vfvp4 -mfloat-abi=hard -marm -mthumb-interwork -ffast-math -ftree-vectorize