summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorChris Larsen <chris.larsen@imgtec.com>2016-05-13 16:11:47 -0700
committerChris Larsen <chris.larsen@imgtec.com>2016-08-24 13:44:16 -0700
commitc733dca42157cafe8751b558f1f8ab65efdeaa63 (patch)
tree1ab19705221989f57b93e95e8ff2f75108603061 /compiler/optimizing/graph_visualizer.cc
parent897b8f5da90b38b030826273f4c9bd8fbc32759e (diff)
MIPS64: Improve non-trivial 64-bit constant loading.
- Add special case where the upper 32 bits of the constant are equal to the lower 32 bits of the constant. Use the "dinsu" instruction to replicate the bottom 32 bits into the top 32 bits. - Test output of LoadConst32()/LoadConst64() against various test constants. o Make the implementation of LoadConst64() into a template. o Using the template code for LoadConst64() implement test cases which simulate the computation of the value which the generated code sequence is actually supposed to load. o Add conditionally compiled code to verify that all of the various data paths through the LoadConst64() function actually get exercised. Test: Booted MIPS64 in QEMU, and ran assembler tests. Change-Id: Ie1ec050e65c666168a9ea582bae9fda97e4cf36a
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions