[ARM] Use bitmap to control cmse_nonsecure_call register clearing
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Wed, 22 Nov 2017 13:32:21 +0000 (13:32 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Wed, 22 Nov 2017 13:32:21 +0000 (13:32 +0000)
commitb24de9a6f437e2c5c9fe08b9cda33c076223051b
tree37d801f80bf2cd66ee4cc171114f0d222f8f88db
parentff4790688bffc52c1a76aaf35c01fe92009a99ff
[ARM] Use bitmap to control cmse_nonsecure_call register clearing

As part of r253256, cmse_nonsecure_entry_clear_before_return has been
rewritten to use auto_sbitmap instead of an integer bitfield to control
which register needs to be cleared. This commit continues this work in
cmse_nonsecure_call_clear_caller_saved.

2017-11-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * config/arm/arm.c (cmse_nonsecure_call_clear_caller_saved): Use
    auto_sbitap instead of integer bitfield to control register needing
    clearing.

From-SVN: r255055
gcc/ChangeLog
gcc/config/arm/arm.c