diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-07-28 12:10:29 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 08:25:45 -0500 |
commit | 789ec7ce20f34b175b3983707e077e8d67385126 (patch) | |
tree | 73a15cbadf91cfaac068f34a7eee5317ccddec02 /cpu-all.h | |
parent | 332ae28dad2d4f155e1ad82bf89a605c2b2710ba (diff) |
softfloat: change default nan definitions to variables
Most definitions in softfloat.h are really target-independent, but the
file is not because it includes definitions of the default NaN values.
Change those to variables to allow including softfloat.h from files that
are not compiled per-target. By making them const, the compiler is
allowed to optimize them into softfloat functions that use them.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cpu-all.h')
0 files changed, 0 insertions, 0 deletions