rbdoom3: Option to set CPU_ID and to specify CPU Features to be used. #228
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
The goal for those patches is again for Debian :) To honour the baseline CPU functions we are allowed to use and also allow to compile on other architectures.
The pull requests adds two options to the build-system:
CPU_TYPE -- When set, passes this string as CPU-ID, which will be embedded into the binary. If unset, the code decides (but only for i386 and amd64).
In Debian I will set it to $(DEB_BUILD_ARCH_CPU)
CPU_OPTIMIZATION Which CPU specific optimitations should be used beside the compiler's default?
default: "-mmmx -msse -msse2" (defaults to the same as your repository)
For Debian I will use the compiler's default, means setting this to an empty string.
USE_INTRINSICS will be progated to the build system only if explictly disabled -- this will disable usage of the intrinsics which are not available on most archs.mmx
For Debian I will use the intrinsics only on amd64.
tobi