This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] S/390: Hardware transactional memory support


On Fri, 2013-08-02 at 15:16 +0200, Andreas Krebbel wrote:
> Since libitm implements TX begins as function calls only call-saved registers can be live across a
> tbegin. But all the call-saved FPRs are saved in _ITM_beginTransaction and get restored when doing
> the longjmp back into the user code. So this should be no problem.

Except that the htm_begin() routines are declared static inline functions,
so when they're inlined, you aren't protected by the semantics of a call
anymore, are you?

Peter




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]