Re: [wide-int] Handle more cmps and cmpu cases inline

2013-11-29 Thread Richard Sandiford
Kenneth Zadeck writes: > like the add/sub patch, enhance the comment so that it says that it is > designed to hit the widestint and offset int common cases. These cases are designed for all types, not just offset_int and widest_int. We're using length-based tests because that catches more cases

Re: [wide-int] Handle more cmps and cmpu cases inline

2013-11-28 Thread Kenneth Zadeck
like the add/sub patch, enhance the comment so that it says that it is designed to hit the widestint and offset int common cases. kenny On 11/28/2013 12:34 PM, Richard Sandiford wrote: As Richi asked, this patch makes cmps use the same shortcuts as lts_p. It also makes cmpu use the shortcut tha

[wide-int] Handle more cmps and cmpu cases inline

2013-11-28 Thread Richard Sandiford
As Richi asked, this patch makes cmps use the same shortcuts as lts_p. It also makes cmpu use the shortcut that I justed added to ltu_p. On that same fold-const.ii testcase, this reduces the number of cmps_large calls from 66924 to 916. It reduces the number of cmpu_large calls from 3462 to 4. T