Revision 5e3f878a target-arm/helper.c
b/target-arm/helper.c | ||
---|---|---|
2167 | 2167 |
return (a & mask) | (b & ~mask); |
2168 | 2168 |
} |
2169 | 2169 |
|
2170 |
uint32_t HELPER(logicq_cc)(uint64_t val) |
|
2171 |
{ |
|
2172 |
return (val >> 32) | (val != 0); |
|
2173 |
} |
|
2170 | 2174 |
|
2171 | 2175 |
/* VFP support. We follow the convention used for VFP instrunctions: |
2172 | 2176 |
Single precition routines have a "s" suffix, double precision a |
... | ... | |
2529 | 2533 |
tmp = float32_scalbn(tmp, 31, s); |
2530 | 2534 |
return float32_to_int32(tmp, s); |
2531 | 2535 |
} |
2532 |
|
Also available in: Unified diff