> * roundeven is similar to existing functions round / ceil / floor / trunc. > So you'd define built-in functions (roundeven / roundevenf / roundevenl > and _FloatN and _FloatNx variants) similar to those for the older rounding > functions, in builtins.def. Hello, Thanks to all for your inputs to get me through. As mentioned above, I have added the function roundeven in match.pd and its declaration in builtins.def for the testcase 0. Following is the attachment patch for the same. For inlining functions, is it the same kind of specialized expansion from GIMPLE to RTL which is already there for some math functions in bultins.c? If I get more clear with it, I'd get to go for the proposal. Thank you. Regards, -Tejas Patch Attachment: