Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null |
2 | |||||
3 | typedef struct | ||||
4 | { | ||||
5 | unsigned char type; /* Indicates, NORMAL, SUBNORMAL, etc. */ | ||||
6 | } InternalFPF; | ||||
7 | |||||
8 | |||||
9 | static void SetInternalFPFZero(InternalFPF *dest) { | ||||
10 | dest->type=0; | ||||
11 | } | ||||
12 | |||||
13 | void denormalize(InternalFPF *ptr) { | ||||
14 | SetInternalFPFZero(ptr); | ||||
15 | } | ||||
16 |