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 10:59:15 +0000 (10:59 +0000)
commitcea28ec4b9e94ec942899acf1dbf20f8999b36b4
tree893c062f6792688671519989a78065ecc7e79de9
parentf0c001465371279355eeb7633b67ffcc6f6738e5
[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: Ie91e04bfb402025073054f3803a3a569e4705caa
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