On Mon, 2013-07-15 at 23:03 -0400, David Edelsohn wrote: > On Mon, Jul 15, 2013 at 4:26 PM, Peter Bergner <berg...@vnet.ibm.com> wrote: > > David, do you prefer reverting the above hunk from the Power HTM > > patch or should I add the associated -mno-* options to the building > > of libitm? > > How is libitm built for Intel? The principle of least surprises > suggests following that precedent.
They use -mrtm (like we use -mhtm) to build libitm, but it looks like their -mrtm does not enable any other isa flags like we currently are doing with -mhtm. Meaning their -mrtm option is independent of any -mcpu values while ours is not. If we revert the patch I mentioned, then I think we will match what Intel is doing. Hopefully Jakub will correct me if I am wrong. Peter