[PPC64] Added vector registers.
authorMartin Storsjo <martin@martin.st>
Tue, 16 Jan 2018 20:54:10 +0000 (20:54 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 16 Jan 2018 20:54:10 +0000 (20:54 +0000)
commit89e636c87cd43c2dc81c74c46655f527f97b932c
tree2b2777e6b1f4a45b11855405aacc8a562ffe12ae
parentaf4ddd5a6e9c99e46cb87e98cadc08a676a98e1d
[PPC64] Added vector registers.

The Registers_ppc64 class needed a couple of changes, both to accommodate the
new registers as well as to handle the overlaps of VS register set
without wasting space.

The save/restore code of V and VS registers was added.
As VS registers depend on the VMX extension, they are processed only if
VMX support is detected (_ARCH_PWR8 for now).

Patch by Leandro Lupori!

Differential Revision: https://reviews.llvm.org/D41906

llvm-svn: 322596
libunwind/include/__libunwind_config.h
libunwind/include/libunwind.h
libunwind/src/Registers.hpp
libunwind/src/UnwindRegistersRestore.S
libunwind/src/UnwindRegistersSave.S
libunwind/src/assembly.h
libunwind/src/config.h