OSDN Git Service

[optimizing compiler] Add CMP{L,G}_{FLOAT,DOUBLE}
authorCalin Juravle <calin@google.com>
Tue, 25 Nov 2014 20:56:51 +0000 (20:56 +0000)
committerCalin Juravle <calin@google.com>
Wed, 26 Nov 2014 16:49:23 +0000 (16:49 +0000)
commitfd861249f31ab360c12dd1ffb131d50f02b0bfc6
tree1765db2b26337f8e96616ebfb769c95d7b421ad2
parentfef1680241e85532919ecfaf42855d31ddb69361
[optimizing compiler] Add CMP{L,G}_{FLOAT,DOUBLE}

- adds float comparison for arm, x86, x86_64 backends.
- adds ucomis{s,d} assembly to x86 and x86_64.

Change-Id: I232d2b6e9ecf373beb5cc63698dd97a658ff9c83
18 files changed:
compiler/optimizing/builder.cc
compiler/optimizing/builder.h
compiler/optimizing/code_generator_arm.cc
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/nodes.h
compiler/utils/x86/assembler_x86.cc
compiler/utils/x86/assembler_x86.h
compiler/utils/x86/constants_x86.h
compiler/utils/x86_64/assembler_x86_64.cc
compiler/utils/x86_64/assembler_x86_64.h
compiler/utils/x86_64/assembler_x86_64_test.cc
compiler/utils/x86_64/constants_x86_64.h
test/432-optimizing-cmp/expected.txt [new file with mode: 0644]
test/432-optimizing-cmp/info.txt [new file with mode: 0644]
test/432-optimizing-cmp/smali/cmp.smali [new file with mode: 0644]
test/432-optimizing-cmp/src/Main.java [new file with mode: 0644]
test/Android.run-test.mk