search for: maxss

Displaying 1 result from an estimated 1 matches for "maxss".

Did you mean: mass
2008 May 27
2
[LLVMdev] Min and max
Hi all, I'm trying to implement a floating-point 'min' and 'max' operation using select. For 'min' I get the expected x86 assembly minss instruction, but for 'max' I get a branch instead of maxss. The corresponding C syntax code looks like this: float z = (x > y) ? x : y; Any clues? Could someone maybe explain to me the basics of LLVM's target specific optimizations and code generation? I'd love to analyze things like this myself but I don't know where to star...