bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/16886] setjmp/longjmp in libopcodes would be faster as sig


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/16886] setjmp/longjmp in libopcodes would be faster as sigsetjmp w/ save=0
Date: Fri, 02 May 2014 15:35:55 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16886

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  8df14d78dc753a5286bb6461a14d8baa1e13e3cd (commit)
      from  2f67d686330300d4d27ff99ec47a970d744df8bb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8df14d78dc753a5286bb6461a14d8baa1e13e3cd

commit 8df14d78dc753a5286bb6461a14d8baa1e13e3cd
Author: H.J. Lu <address@hidden>
Date:   Fri May 2 08:27:16 2014 -0700

    Use sigsetjmp/siglongjmp in opcodes

    sigsetjmp/siglongjmp without saving the signal mask is faster than
    setjmp/longjmp on systems where the signal mask is saved.  This patch
    uses sigsetjmp/siglongjmp without saving the signal mask if possible.

        PR binutils/16886
        * config.in: Regenerated.
        * configure: Likewise.
        * configure.in: Check if sigsetjmp is available.
        * h8500-dis.c (private): Replace jmp_buf with OPCODES_SIGJMP_BUF.
        (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
        (print_insn_h8500): Replace setjmp with OPCODES_SIGSETJMP.
        * i386-dis.c (dis_private): Replace jmp_buf with OPCODES_SIGJMP_BUF.
        (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
        (print_insn): Replace setjmp with OPCODES_SIGSETJMP.
        * ns32k-dis.c (private): Replace jmp_buf with OPCODES_SIGJMP_BUF.
        (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
        (print_insn_ns32k): Replace setjmp with OPCODES_SIGSETJMP.
        * sysdep.h (OPCODES_SIGJMP_BUF): New macro.
        (OPCODES_SIGSETJMP): Likewise.
        (OPCODES_SIGLONGJMP): Likewise.
        * vax-dis.c (private): Replace jmp_buf with OPCODES_SIGJMP_BUF.
        (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
        (print_insn_vax): Replace setjmp with OPCODES_SIGSETJMP.
        * xtensa-dis.c (dis_private): Replace jmp_buf with
        OPCODES_SIGJMP_BUF.
        (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
        (print_insn_xtensa): Replace setjmp with OPCODES_SIGSETJMP.
        * z8k-dis.c(instr_data_s): Replace jmp_buf with OPCODES_SIGJMP_BUF.
        (fetch_data): Replace longjmp with OPCODES_SIGLONGJMP.
        (print_insn_z8k): Replace setjmp with OPCODES_SIGSETJMP.

-----------------------------------------------------------------------

Summary of changes:
 opcodes/ChangeLog    |   29 +++++++++++++++++++++++++++++
 opcodes/config.in    |    3 +++
 opcodes/configure    |   35 +++++++++++++++++++++++++++++++++++
 opcodes/configure.in |   11 +++++++++++
 opcodes/h8500-dis.c  |    6 +++---
 opcodes/i386-dis.c   |    6 +++---
 opcodes/ns32k-dis.c  |    6 +++---
 opcodes/sysdep.h     |   14 ++++++++++++++
 opcodes/vax-dis.c    |    6 +++---
 opcodes/xtensa-dis.c |    6 +++---
 opcodes/z8k-dis.c    |    6 +++---
 11 files changed, 110 insertions(+), 18 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]