From 6a58cb16d803c9a7b3a75ccac8be19dd9d4e520d Mon Sep 17 00:00:00 2001 From: Dmitry Petrochenko Date: Wed, 2 Apr 2014 17:27:59 +0700 Subject: art: Handle x86_64 architecture equal to x86 This patch forces FE/ME to treat x86_64 as x86 exactly. The x86_64 logic will be revised later when assembly will be ready. Change-Id: I4a92477a6eeaa9a11fd710d35c602d8d6f88cbb6 Signed-off-by: Dmitry Petrochenko --- compiler/driver/compiler_driver.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/driver/compiler_driver.cc') diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index a120d05..4f3533a 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -2015,6 +2015,11 @@ void CompilerDriver::InstructionSetToLLVMTarget(InstructionSet instruction_set, *target_attr = ""; break; + case kX86_64: + *target_triple = "x86_64-pc-linux-gnu"; + *target_attr = ""; + break; + case kMips: *target_triple = "mipsel-unknown-linux"; *target_attr = "mips32r2"; -- cgit v1.1