diff options
| author | 2015-04-02 23:10:46 +0000 | |
|---|---|---|
| committer | 2015-04-02 23:10:46 +0000 | |
| commit | 97597c9be7f4eb5263a80e7de4684dbfa1427e9a (patch) | |
| tree | 690dc04c72690a056aa84ac0206f96e5f513b3c2 /compiler/optimizing/code_generator.cc | |
| parent | 7775d2c1e48c0bb0880f720f3dfbd4b4d0de7c6e (diff) | |
| parent | fb8d279bc011b31d0765dc7ca59afea324fd0d0c (diff) | |
Merge "[optimizing] Implement x86/x86_64 math intrinsics"
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
| -rw-r--r-- | compiler/optimizing/code_generator.cc | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index bd6e943bf0..9b1ef17274 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -378,10 +378,14 @@ CodeGenerator* CodeGenerator::Create(HGraph* graph,      case kMips:        return nullptr;      case kX86: { -      return new x86::CodeGeneratorX86(graph, compiler_options); +      return new x86::CodeGeneratorX86(graph, +           *isa_features.AsX86InstructionSetFeatures(), +           compiler_options);      }      case kX86_64: { -      return new x86_64::CodeGeneratorX86_64(graph, compiler_options); +      return new x86_64::CodeGeneratorX86_64(graph, +          *isa_features.AsX86_64InstructionSetFeatures(), +          compiler_options);      }      default:        return nullptr; |