aboutsummaryrefslogtreecommitdiff
path: root/bswap.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-07-28 12:10:29 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-07-29 08:25:45 -0500
commit789ec7ce20f34b175b3983707e077e8d67385126 (patch)
tree73a15cbadf91cfaac068f34a7eee5317ccddec02 /bswap.h
parent332ae28dad2d4f155e1ad82bf89a605c2b2710ba (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 'bswap.h')
0 files changed, 0 insertions, 0 deletions