diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-02-17 01:35:27 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-02-17 01:35:27 +0000 |
commit | 0c64b5bbb6ab628d1b222593677bd08ae4074e26 (patch) | |
tree | f06e9bd265d5bb98ca7386324850341d3727acc7 /clang/lib/Frontend/DependencyFile.cpp | |
parent | 3eb0af94c4062fa42519a8bc46d14ac64fb8fbc5 (diff) | |
download | llvm-0c64b5bbb6ab628d1b222593677bd08ae4074e26.zip llvm-0c64b5bbb6ab628d1b222593677bd08ae4074e26.tar.gz llvm-0c64b5bbb6ab628d1b222593677bd08ae4074e26.tar.bz2 |
Refactoring. Wrap the following pseudocode from the ARM Architecture Reference Manul:
// if d == 15 then // Can only occur for encoding A1
// ALUWritePC(result); // setflags is always FALSE here
// else
// R[d] = result;
// if setflags then
// APSR.N = result<31>;
// APSR.Z = IsZeroBit(result);
// APSR.C = carry;
// // APSR.V unchanged
into a helper method WriteCoreRegisterWithFlags, and modified the existing methods
to take advantage of it.
Plus add two emulation methods (declaration only for now) for ORR (immediate) and ORR (register).
llvm-svn: 125701
Diffstat (limited to 'clang/lib/Frontend/DependencyFile.cpp')
0 files changed, 0 insertions, 0 deletions