mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
radeonsi: set LLVM denormal flags
- make sure FP32 denormals will stay disabled in LLVM in the future (the current default is disabled) - tell LLVM that FP64 denormals are enabled Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
0e1fefa722
commit
05e741c6d6
1 changed files with 5 additions and 2 deletions
|
|
@ -32,6 +32,9 @@
|
|||
#include "util/u_suballoc.h"
|
||||
#include "vl/vl_decoder.h"
|
||||
|
||||
#define SI_LLVM_DEFAULT_FEATURES \
|
||||
"+DumpCode,+vgpr-spilling,-fp32-denormals,+fp64-denormals"
|
||||
|
||||
/*
|
||||
* pipe_context
|
||||
*/
|
||||
|
|
@ -262,9 +265,9 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
|
|||
r600_get_llvm_processor_name(sscreen->b.family),
|
||||
#if HAVE_LLVM >= 0x0308
|
||||
sscreen->b.debug_flags & DBG_SI_SCHED ?
|
||||
"+DumpCode,+vgpr-spilling,+si-scheduler" :
|
||||
SI_LLVM_DEFAULT_FEATURES ",+si-scheduler" :
|
||||
#endif
|
||||
"+DumpCode,+vgpr-spilling",
|
||||
SI_LLVM_DEFAULT_FEATURES,
|
||||
LLVMCodeGenLevelDefault,
|
||||
LLVMRelocDefault,
|
||||
LLVMCodeModelDefault);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue