[ARM] Use bitmap to control cmse_nonsecure_call register clearing
commit0a7cb71d302afd717e4338040f66f059c7811a9f
authorthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2017 13:32:21 +0000 (22 13:32 +0000)
committerthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2017 13:32:21 +0000 (22 13:32 +0000)
tree37d801f80bf2cd66ee4cc171114f0d222f8f88db
parent52ae671c8b340a0c782ecc77637a1e18dd343417
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255055 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c