
#2269: Word type to Double or Float conversions are slower than Int conversions
-------------------------------------+-------------------------------------
Reporter: dons | Owner: dons@…
Type: feature request | Status: new
Priority: lowest | Milestone:
Component: Compiler | Version: 6.8.2
Resolution: | Keywords: rules,
| performance, double, newcomer
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by rwbarton):
* keywords: rules, performance, double => rules, performance, double,
newcomer
Comment:
Namely,
{{{
double f(unsigned long x)
{
return x;
}
/*
0000000000000000 <f>:
0: 66 48 0f 6e cf movq %rdi,%xmm1
5: 66 0f 62 0d 00 00 00 punpckldq 0x0(%rip),%xmm1 # d