Support itineraries in TargetSubtargetInfo::getSchedInfoStr - Now if the given instr does not have sched model then we try to calculate the latecy/throughput with help of itineraries.

Differential Revision https://reviews.llvm.org/D35997

llvm-svn: 309666
This commit is contained in:
Andrew V. Tischenko 2017-08-01 09:15:43 +00:00
parent 2ae1edd139
commit d56595184b
7 changed files with 1196 additions and 1189 deletions

View File

@ -11,13 +11,14 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "llvm/Target/TargetSubtargetInfo.h"
#include "llvm/ADT/Optional.h" #include "llvm/ADT/Optional.h"
#include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/TargetSchedule.h" #include "llvm/CodeGen/TargetSchedule.h"
#include "llvm/MC/MCInst.h" #include "llvm/MC/MCInst.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include "llvm/Support/Format.h" #include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include <string> #include <string>
using namespace llvm; using namespace llvm;
@ -93,9 +94,15 @@ std::string TargetSubtargetInfo::getSchedInfoStr(MCInst const &MCI) const {
// that could be changed during the compilation // that could be changed during the compilation
TargetSchedModel TSchedModel; TargetSchedModel TSchedModel;
TSchedModel.init(getSchedModel(), this, getInstrInfo()); TSchedModel.init(getSchedModel(), this, getInstrInfo());
if (!TSchedModel.hasInstrSchedModel()) unsigned Latency;
if (TSchedModel.hasInstrSchedModel())
Latency = TSchedModel.computeInstrLatency(MCI.getOpcode());
else if (TSchedModel.hasInstrItineraries()) {
auto *ItinData = TSchedModel.getInstrItineraries();
Latency = ItinData->getStageLatency(
getInstrInfo()->get(MCI.getOpcode()).getSchedClass());
} else
return std::string(); return std::string();
unsigned Latency = TSchedModel.computeInstrLatency(MCI.getOpcode());
Optional<double> RThroughput = Optional<double> RThroughput =
TSchedModel.computeInstrRThroughput(MCI.getOpcode()); TSchedModel.computeInstrRThroughput(MCI.getOpcode());
return createSchedInfoStr(Latency, RThroughput); return createSchedInfoStr(Latency, RThroughput);

View File

@ -20,14 +20,14 @@ define i32 @test_lea_offset(i32) {
; ATOM-LABEL: test_lea_offset: ; ATOM-LABEL: test_lea_offset:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal -24(%rdi), %eax ; ATOM-NEXT: leal -24(%rdi), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_offset: ; SLM-LABEL: test_lea_offset:
; SLM: # BB#0: ; SLM: # BB#0:
@ -72,14 +72,14 @@ define i32 @test_lea_offset_big(i32) {
; ATOM-LABEL: test_lea_offset_big: ; ATOM-LABEL: test_lea_offset_big:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal 1024(%rdi), %eax ; ATOM-NEXT: leal 1024(%rdi), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_offset_big: ; SLM-LABEL: test_lea_offset_big:
; SLM: # BB#0: ; SLM: # BB#0:
@ -127,14 +127,14 @@ define i32 @test_lea_add(i32, i32) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def> ; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def>
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal (%rdi,%rsi), %eax ; ATOM-NEXT: leal (%rdi,%rsi), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add: ; SLM-LABEL: test_lea_add:
; SLM: # BB#0: ; SLM: # BB#0:
@ -186,14 +186,14 @@ define i32 @test_lea_add_offset(i32, i32) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def> ; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def>
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal 16(%rdi,%rsi), %eax ; ATOM-NEXT: leal 16(%rdi,%rsi), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_offset: ; SLM-LABEL: test_lea_add_offset:
; SLM: # BB#0: ; SLM: # BB#0:
@ -248,14 +248,14 @@ define i32 @test_lea_add_offset_big(i32, i32) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def> ; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def>
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal -4096(%rdi,%rsi), %eax ; ATOM-NEXT: leal -4096(%rdi,%rsi), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_offset_big: ; SLM-LABEL: test_lea_add_offset_big:
; SLM: # BB#0: ; SLM: # BB#0:
@ -310,14 +310,14 @@ define i32 @test_lea_mul(i32) {
; ATOM-LABEL: test_lea_mul: ; ATOM-LABEL: test_lea_mul:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal (%rdi,%rdi,2), %eax ; ATOM-NEXT: leal (%rdi,%rdi,2), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_mul: ; SLM-LABEL: test_lea_mul:
; SLM: # BB#0: ; SLM: # BB#0:
@ -362,14 +362,14 @@ define i32 @test_lea_mul_offset(i32) {
; ATOM-LABEL: test_lea_mul_offset: ; ATOM-LABEL: test_lea_mul_offset:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal -32(%rdi,%rdi,2), %eax ; ATOM-NEXT: leal -32(%rdi,%rdi,2), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_mul_offset: ; SLM-LABEL: test_lea_mul_offset:
; SLM: # BB#0: ; SLM: # BB#0:
@ -417,14 +417,14 @@ define i32 @test_lea_mul_offset_big(i32) {
; ATOM-LABEL: test_lea_mul_offset_big: ; ATOM-LABEL: test_lea_mul_offset_big:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal 10000(%rdi,%rdi,8), %eax ; ATOM-NEXT: leal 10000(%rdi,%rdi,8), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_mul_offset_big: ; SLM-LABEL: test_lea_mul_offset_big:
; SLM: # BB#0: ; SLM: # BB#0:
@ -476,14 +476,14 @@ define i32 @test_lea_add_scale(i32, i32) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def> ; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def>
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal (%rdi,%rsi,2), %eax ; ATOM-NEXT: leal (%rdi,%rsi,2), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_scale: ; SLM-LABEL: test_lea_add_scale:
; SLM: # BB#0: ; SLM: # BB#0:
@ -536,14 +536,14 @@ define i32 @test_lea_add_scale_offset(i32, i32) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def> ; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def>
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal 96(%rdi,%rsi,4), %eax ; ATOM-NEXT: leal 96(%rdi,%rsi,4), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_scale_offset: ; SLM-LABEL: test_lea_add_scale_offset:
; SLM: # BB#0: ; SLM: # BB#0:
@ -599,14 +599,14 @@ define i32 @test_lea_add_scale_offset_big(i32, i32) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def> ; ATOM-NEXT: # kill: %ESI<def> %ESI<kill> %RSI<def>
; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def> ; ATOM-NEXT: # kill: %EDI<def> %EDI<kill> %RDI<def>
; ATOM-NEXT: leal -1200(%rdi,%rsi,8), %eax ; ATOM-NEXT: leal -1200(%rdi,%rsi,8), %eax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_scale_offset_big: ; SLM-LABEL: test_lea_add_scale_offset_big:
; SLM: # BB#0: ; SLM: # BB#0:

View File

@ -18,14 +18,14 @@ define i64 @test_lea_offset(i64) {
; ;
; ATOM-LABEL: test_lea_offset: ; ATOM-LABEL: test_lea_offset:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq -24(%rdi), %rax ; ATOM-NEXT: leaq -24(%rdi), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_offset: ; SLM-LABEL: test_lea_offset:
; SLM: # BB#0: ; SLM: # BB#0:
@ -63,14 +63,14 @@ define i64 @test_lea_offset_big(i64) {
; ;
; ATOM-LABEL: test_lea_offset_big: ; ATOM-LABEL: test_lea_offset_big:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq 1024(%rdi), %rax ; ATOM-NEXT: leaq 1024(%rdi), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_offset_big: ; SLM-LABEL: test_lea_offset_big:
; SLM: # BB#0: ; SLM: # BB#0:
@ -109,14 +109,14 @@ define i64 @test_lea_add(i64, i64) {
; ;
; ATOM-LABEL: test_lea_add: ; ATOM-LABEL: test_lea_add:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq (%rdi,%rsi), %rax ; ATOM-NEXT: leaq (%rdi,%rsi), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add: ; SLM-LABEL: test_lea_add:
; SLM: # BB#0: ; SLM: # BB#0:
@ -154,14 +154,14 @@ define i64 @test_lea_add_offset(i64, i64) {
; ;
; ATOM-LABEL: test_lea_add_offset: ; ATOM-LABEL: test_lea_add_offset:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq 16(%rdi,%rsi), %rax ; ATOM-NEXT: leaq 16(%rdi,%rsi), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_offset: ; SLM-LABEL: test_lea_add_offset:
; SLM: # BB#0: ; SLM: # BB#0:
@ -202,14 +202,14 @@ define i64 @test_lea_add_offset_big(i64, i64) {
; ;
; ATOM-LABEL: test_lea_add_offset_big: ; ATOM-LABEL: test_lea_add_offset_big:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq -4096(%rdi,%rsi), %rax ; ATOM-NEXT: leaq -4096(%rdi,%rsi), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_offset_big: ; SLM-LABEL: test_lea_add_offset_big:
; SLM: # BB#0: ; SLM: # BB#0:
@ -252,14 +252,14 @@ define i64 @test_lea_mul(i64) {
; ;
; ATOM-LABEL: test_lea_mul: ; ATOM-LABEL: test_lea_mul:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq (%rdi,%rdi,2), %rax ; ATOM-NEXT: leaq (%rdi,%rdi,2), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_mul: ; SLM-LABEL: test_lea_mul:
; SLM: # BB#0: ; SLM: # BB#0:
@ -297,14 +297,14 @@ define i64 @test_lea_mul_offset(i64) {
; ;
; ATOM-LABEL: test_lea_mul_offset: ; ATOM-LABEL: test_lea_mul_offset:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq -32(%rdi,%rdi,2), %rax ; ATOM-NEXT: leaq -32(%rdi,%rdi,2), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_mul_offset: ; SLM-LABEL: test_lea_mul_offset:
; SLM: # BB#0: ; SLM: # BB#0:
@ -345,14 +345,14 @@ define i64 @test_lea_mul_offset_big(i64) {
; ;
; ATOM-LABEL: test_lea_mul_offset_big: ; ATOM-LABEL: test_lea_mul_offset_big:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq 10000(%rdi,%rdi,8), %rax ; ATOM-NEXT: leaq 10000(%rdi,%rdi,8), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_mul_offset_big: ; SLM-LABEL: test_lea_mul_offset_big:
; SLM: # BB#0: ; SLM: # BB#0:
@ -395,14 +395,14 @@ define i64 @test_lea_add_scale(i64, i64) {
; ;
; ATOM-LABEL: test_lea_add_scale: ; ATOM-LABEL: test_lea_add_scale:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq (%rdi,%rsi,2), %rax ; ATOM-NEXT: leaq (%rdi,%rsi,2), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_scale: ; SLM-LABEL: test_lea_add_scale:
; SLM: # BB#0: ; SLM: # BB#0:
@ -441,14 +441,14 @@ define i64 @test_lea_add_scale_offset(i64, i64) {
; ;
; ATOM-LABEL: test_lea_add_scale_offset: ; ATOM-LABEL: test_lea_add_scale_offset:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq 96(%rdi,%rsi,4), %rax ; ATOM-NEXT: leaq 96(%rdi,%rsi,4), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_scale_offset: ; SLM-LABEL: test_lea_add_scale_offset:
; SLM: # BB#0: ; SLM: # BB#0:
@ -490,14 +490,14 @@ define i64 @test_lea_add_scale_offset_big(i64, i64) {
; ;
; ATOM-LABEL: test_lea_add_scale_offset_big: ; ATOM-LABEL: test_lea_add_scale_offset_big:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: leaq -1200(%rdi,%rsi,8), %rax ; ATOM-NEXT: leaq -1200(%rdi,%rsi,8), %rax # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lea_add_scale_offset_big: ; SLM-LABEL: test_lea_add_scale_offset_big:
; SLM: # BB#0: ; SLM: # BB#0:

View File

@ -18,9 +18,9 @@ define <4 x float> @test_addps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_addps: ; ATOM-LABEL: test_addps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: addps %xmm1, %xmm0 ; ATOM-NEXT: addps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: addps (%rdi), %xmm0 ; ATOM-NEXT: addps (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_addps: ; SLM-LABEL: test_addps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -66,9 +66,9 @@ define float @test_addss(float %a0, float %a1, float *%a2) {
; ;
; ATOM-LABEL: test_addss: ; ATOM-LABEL: test_addss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: addss %xmm1, %xmm0 ; ATOM-NEXT: addss %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: addss (%rdi), %xmm0 ; ATOM-NEXT: addss (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_addss: ; SLM-LABEL: test_addss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -116,15 +116,15 @@ define <4 x float> @test_andps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: andps %xmm1, %xmm0 ; ATOM-NEXT: andps %xmm1, %xmm0
; ATOM-NEXT: andps (%rdi), %xmm0 ; ATOM-NEXT: andps (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_andps: ; SLM-LABEL: test_andps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -176,15 +176,15 @@ define <4 x float> @test_andnotps(<4 x float> %a0, <4 x float> %a1, <4 x float>
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: andnps %xmm1, %xmm0 ; ATOM-NEXT: andnps %xmm1, %xmm0
; ATOM-NEXT: andnps (%rdi), %xmm0 ; ATOM-NEXT: andnps (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_andnotps: ; SLM-LABEL: test_andnotps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -237,10 +237,10 @@ define <4 x float> @test_cmpps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_cmpps: ; ATOM-LABEL: test_cmpps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: cmpeqps %xmm0, %xmm1 ; ATOM-NEXT: cmpeqps %xmm0, %xmm1 # sched: [5:5.00]
; ATOM-NEXT: cmpeqps (%rdi), %xmm0 ; ATOM-NEXT: cmpeqps (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: orps %xmm1, %xmm0 ; ATOM-NEXT: orps %xmm1, %xmm0
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_cmpps: ; SLM-LABEL: test_cmpps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -294,9 +294,9 @@ define float @test_cmpss(float %a0, float %a1, float *%a2) {
; ;
; ATOM-LABEL: test_cmpss: ; ATOM-LABEL: test_cmpss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: cmpeqss %xmm1, %xmm0 ; ATOM-NEXT: cmpeqss %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: cmpeqss (%rdi), %xmm0 ; ATOM-NEXT: cmpeqss (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_cmpss: ; SLM-LABEL: test_cmpss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -355,17 +355,17 @@ define i32 @test_comiss(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a2) {
; ;
; ATOM-LABEL: test_comiss: ; ATOM-LABEL: test_comiss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: comiss %xmm1, %xmm0 ; ATOM-NEXT: comiss %xmm1, %xmm0 # sched: [9:4.50]
; ATOM-NEXT: setnp %al ; ATOM-NEXT: setnp %al # sched: [1:0.50]
; ATOM-NEXT: sete %cl ; ATOM-NEXT: sete %cl # sched: [1:0.50]
; ATOM-NEXT: andb %al, %cl ; ATOM-NEXT: andb %al, %cl # sched: [1:0.50]
; ATOM-NEXT: comiss (%rdi), %xmm0 ; ATOM-NEXT: comiss (%rdi), %xmm0 # sched: [10:5.00]
; ATOM-NEXT: setnp %al ; ATOM-NEXT: setnp %al # sched: [1:0.50]
; ATOM-NEXT: sete %dl ; ATOM-NEXT: sete %dl # sched: [1:0.50]
; ATOM-NEXT: andb %al, %dl ; ATOM-NEXT: andb %al, %dl # sched: [1:0.50]
; ATOM-NEXT: orb %cl, %dl ; ATOM-NEXT: orb %cl, %dl # sched: [1:0.50]
; ATOM-NEXT: movzbl %dl, %eax ; ATOM-NEXT: movzbl %dl, %eax # sched: [1:1.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_comiss: ; SLM-LABEL: test_comiss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -454,10 +454,10 @@ define float @test_cvtsi2ss(i32 %a0, i32 *%a1) {
; ;
; ATOM-LABEL: test_cvtsi2ss: ; ATOM-LABEL: test_cvtsi2ss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: cvtsi2ssl (%rsi), %xmm0 ; ATOM-NEXT: cvtsi2ssl (%rsi), %xmm0 # sched: [7:3.50]
; ATOM-NEXT: cvtsi2ssl %edi, %xmm1 ; ATOM-NEXT: cvtsi2ssl %edi, %xmm1 # sched: [6:3.00]
; ATOM-NEXT: addss %xmm1, %xmm0 ; ATOM-NEXT: addss %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_cvtsi2ss: ; SLM-LABEL: test_cvtsi2ss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -510,10 +510,10 @@ define float @test_cvtsi2ssq(i64 %a0, i64 *%a1) {
; ;
; ATOM-LABEL: test_cvtsi2ssq: ; ATOM-LABEL: test_cvtsi2ssq:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: cvtsi2ssq (%rsi), %xmm0 ; ATOM-NEXT: cvtsi2ssq (%rsi), %xmm0 # sched: [7:3.50]
; ATOM-NEXT: cvtsi2ssq %rdi, %xmm1 ; ATOM-NEXT: cvtsi2ssq %rdi, %xmm1 # sched: [6:3.00]
; ATOM-NEXT: addss %xmm1, %xmm0 ; ATOM-NEXT: addss %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_cvtsi2ssq: ; SLM-LABEL: test_cvtsi2ssq:
; SLM: # BB#0: ; SLM: # BB#0:
@ -566,10 +566,10 @@ define i32 @test_cvtss2si(float %a0, float *%a1) {
; ;
; ATOM-LABEL: test_cvtss2si: ; ATOM-LABEL: test_cvtss2si:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: cvtss2si (%rdi), %eax ; ATOM-NEXT: cvtss2si (%rdi), %eax # sched: [9:4.50]
; ATOM-NEXT: cvtss2si %xmm0, %ecx ; ATOM-NEXT: cvtss2si %xmm0, %ecx # sched: [8:4.00]
; ATOM-NEXT: addl %ecx, %eax ; ATOM-NEXT: addl %ecx, %eax # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_cvtss2si: ; SLM-LABEL: test_cvtss2si:
; SLM: # BB#0: ; SLM: # BB#0:
@ -625,10 +625,10 @@ define i64 @test_cvtss2siq(float %a0, float *%a1) {
; ;
; ATOM-LABEL: test_cvtss2siq: ; ATOM-LABEL: test_cvtss2siq:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: cvtss2si (%rdi), %rax ; ATOM-NEXT: cvtss2si (%rdi), %rax # sched: [10:5.00]
; ATOM-NEXT: cvtss2si %xmm0, %rcx ; ATOM-NEXT: cvtss2si %xmm0, %rcx # sched: [9:4.50]
; ATOM-NEXT: addq %rcx, %rax ; ATOM-NEXT: addq %rcx, %rax # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_cvtss2siq: ; SLM-LABEL: test_cvtss2siq:
; SLM: # BB#0: ; SLM: # BB#0:
@ -684,10 +684,10 @@ define i32 @test_cvttss2si(float %a0, float *%a1) {
; ;
; ATOM-LABEL: test_cvttss2si: ; ATOM-LABEL: test_cvttss2si:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: cvttss2si (%rdi), %eax ; ATOM-NEXT: cvttss2si (%rdi), %eax # sched: [9:4.50]
; ATOM-NEXT: cvttss2si %xmm0, %ecx ; ATOM-NEXT: cvttss2si %xmm0, %ecx # sched: [8:4.00]
; ATOM-NEXT: addl %ecx, %eax ; ATOM-NEXT: addl %ecx, %eax # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_cvttss2si: ; SLM-LABEL: test_cvttss2si:
; SLM: # BB#0: ; SLM: # BB#0:
@ -740,10 +740,10 @@ define i64 @test_cvttss2siq(float %a0, float *%a1) {
; ;
; ATOM-LABEL: test_cvttss2siq: ; ATOM-LABEL: test_cvttss2siq:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: cvttss2si (%rdi), %rax ; ATOM-NEXT: cvttss2si (%rdi), %rax # sched: [10:5.00]
; ATOM-NEXT: cvttss2si %xmm0, %rcx ; ATOM-NEXT: cvttss2si %xmm0, %rcx # sched: [9:4.50]
; ATOM-NEXT: addq %rcx, %rax ; ATOM-NEXT: addq %rcx, %rax # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_cvttss2siq: ; SLM-LABEL: test_cvttss2siq:
; SLM: # BB#0: ; SLM: # BB#0:
@ -795,9 +795,9 @@ define <4 x float> @test_divps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_divps: ; ATOM-LABEL: test_divps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: divps %xmm1, %xmm0 ; ATOM-NEXT: divps %xmm1, %xmm0 # sched: [70:35.00]
; ATOM-NEXT: divps (%rdi), %xmm0 ; ATOM-NEXT: divps (%rdi), %xmm0 # sched: [125:62.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_divps: ; SLM-LABEL: test_divps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -843,9 +843,9 @@ define float @test_divss(float %a0, float %a1, float *%a2) {
; ;
; ATOM-LABEL: test_divss: ; ATOM-LABEL: test_divss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: divss %xmm1, %xmm0 ; ATOM-NEXT: divss %xmm1, %xmm0 # sched: [34:17.00]
; ATOM-NEXT: divss (%rdi), %xmm0 ; ATOM-NEXT: divss (%rdi), %xmm0 # sched: [62:31.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_divss: ; SLM-LABEL: test_divss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -891,9 +891,9 @@ define void @test_ldmxcsr(i32 %a0) {
; ;
; ATOM-LABEL: test_ldmxcsr: ; ATOM-LABEL: test_ldmxcsr:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movl %edi, -{{[0-9]+}}(%rsp) ; ATOM-NEXT: movl %edi, -{{[0-9]+}}(%rsp) # sched: [1:1.00]
; ATOM-NEXT: ldmxcsr -{{[0-9]+}}(%rsp) ; ATOM-NEXT: ldmxcsr -{{[0-9]+}}(%rsp) # sched: [5:2.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_ldmxcsr: ; SLM-LABEL: test_ldmxcsr:
; SLM: # BB#0: ; SLM: # BB#0:
@ -941,9 +941,9 @@ define <4 x float> @test_maxps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_maxps: ; ATOM-LABEL: test_maxps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: maxps %xmm1, %xmm0 ; ATOM-NEXT: maxps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: maxps (%rdi), %xmm0 ; ATOM-NEXT: maxps (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_maxps: ; SLM-LABEL: test_maxps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -990,9 +990,9 @@ define <4 x float> @test_maxss(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_maxss: ; ATOM-LABEL: test_maxss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: maxss %xmm1, %xmm0 ; ATOM-NEXT: maxss %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: maxss (%rdi), %xmm0 ; ATOM-NEXT: maxss (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_maxss: ; SLM-LABEL: test_maxss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1039,9 +1039,9 @@ define <4 x float> @test_minps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_minps: ; ATOM-LABEL: test_minps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: minps %xmm1, %xmm0 ; ATOM-NEXT: minps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: minps (%rdi), %xmm0 ; ATOM-NEXT: minps (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_minps: ; SLM-LABEL: test_minps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1088,9 +1088,9 @@ define <4 x float> @test_minss(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_minss: ; ATOM-LABEL: test_minss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: minss %xmm1, %xmm0 ; ATOM-NEXT: minss %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: minss (%rdi), %xmm0 ; ATOM-NEXT: minss (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_minss: ; SLM-LABEL: test_minss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1138,10 +1138,10 @@ define void @test_movaps(<4 x float> *%a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_movaps: ; ATOM-LABEL: test_movaps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movaps (%rdi), %xmm0 ; ATOM-NEXT: movaps (%rdi), %xmm0 # sched: [1:1.00]
; ATOM-NEXT: addps %xmm0, %xmm0 ; ATOM-NEXT: addps %xmm0, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: movaps %xmm0, (%rsi) ; ATOM-NEXT: movaps %xmm0, (%rsi) # sched: [1:1.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movaps: ; SLM-LABEL: test_movaps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1193,14 +1193,14 @@ define <4 x float> @test_movhlps(<4 x float> %a0, <4 x float> %a1) {
; ;
; ATOM-LABEL: test_movhlps: ; ATOM-LABEL: test_movhlps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movhlps {{.*#+}} xmm0 = xmm1[1],xmm0[1] ; ATOM-NEXT: movhlps {{.*#+}} xmm0 = xmm1[1],xmm0[1] sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movhlps: ; SLM-LABEL: test_movhlps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1243,11 +1243,11 @@ define void @test_movhps(<4 x float> %a0, <4 x float> %a1, x86_mmx *%a2) {
; ;
; ATOM-LABEL: test_movhps: ; ATOM-LABEL: test_movhps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movhpd {{.*#+}} xmm1 = xmm1[0],mem[0] ; ATOM-NEXT: movhpd {{.*#+}} xmm1 = xmm1[0],mem[0] sched: [1:1.00]
; ATOM-NEXT: addps %xmm0, %xmm1 ; ATOM-NEXT: addps %xmm0, %xmm1 # sched: [5:5.00]
; ATOM-NEXT: movhlps {{.*#+}} xmm1 = xmm1[1,1] ; ATOM-NEXT: movhlps {{.*#+}} xmm1 = xmm1[1,1] sched: [1:1.00]
; ATOM-NEXT: movlps %xmm1, (%rdi) ; ATOM-NEXT: movlps %xmm1, (%rdi) # sched: [1:1.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movhps: ; SLM-LABEL: test_movhps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1304,9 +1304,9 @@ define <4 x float> @test_movlhps(<4 x float> %a0, <4 x float> %a1) {
; ;
; ATOM-LABEL: test_movlhps: ; ATOM-LABEL: test_movlhps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: unpcklpd {{.*#+}} xmm0 = xmm0[0],xmm1[0] ; ATOM-NEXT: unpcklpd {{.*#+}} xmm0 = xmm0[0],xmm1[0] sched: [1:1.00]
; ATOM-NEXT: addps %xmm1, %xmm0 ; ATOM-NEXT: addps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movlhps: ; SLM-LABEL: test_movlhps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1352,10 +1352,10 @@ define void @test_movlps(<4 x float> %a0, <4 x float> %a1, x86_mmx *%a2) {
; ;
; ATOM-LABEL: test_movlps: ; ATOM-LABEL: test_movlps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movlpd {{.*#+}} xmm1 = mem[0],xmm1[1] ; ATOM-NEXT: movlpd {{.*#+}} xmm1 = mem[0],xmm1[1] sched: [1:1.00]
; ATOM-NEXT: addps %xmm0, %xmm1 ; ATOM-NEXT: addps %xmm0, %xmm1 # sched: [5:5.00]
; ATOM-NEXT: movlps %xmm1, (%rdi) ; ATOM-NEXT: movlps %xmm1, (%rdi) # sched: [1:1.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movlps: ; SLM-LABEL: test_movlps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1409,10 +1409,10 @@ define i32 @test_movmskps(<4 x float> %a0) {
; ;
; ATOM-LABEL: test_movmskps: ; ATOM-LABEL: test_movmskps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movmskps %xmm0, %eax ; ATOM-NEXT: movmskps %xmm0, %eax # sched: [3:3.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movmskps: ; SLM-LABEL: test_movmskps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1451,14 +1451,14 @@ define void @test_movntps(<4 x float> %a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_movntps: ; ATOM-LABEL: test_movntps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movntps %xmm0, (%rdi) ; ATOM-NEXT: movntps %xmm0, (%rdi) # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movntps: ; SLM-LABEL: test_movntps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1498,10 +1498,10 @@ define void @test_movss_mem(float* %a0, float* %a1) {
; ;
; ATOM-LABEL: test_movss_mem: ; ATOM-LABEL: test_movss_mem:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movss {{.*#+}} xmm0 = mem[0],zero,zero,zero ; ATOM-NEXT: movss {{.*#+}} xmm0 = mem[0],zero,zero,zero sched: [1:1.00]
; ATOM-NEXT: addss %xmm0, %xmm0 ; ATOM-NEXT: addss %xmm0, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: movss %xmm0, (%rsi) ; ATOM-NEXT: movss %xmm0, (%rsi) # sched: [1:1.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movss_mem: ; SLM-LABEL: test_movss_mem:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1551,14 +1551,14 @@ define <4 x float> @test_movss_reg(<4 x float> %a0, <4 x float> %a1) {
; ;
; ATOM-LABEL: test_movss_reg: ; ATOM-LABEL: test_movss_reg:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3] ; ATOM-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3] sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movss_reg: ; SLM-LABEL: test_movss_reg:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1598,10 +1598,10 @@ define void @test_movups(<4 x float> *%a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_movups: ; ATOM-LABEL: test_movups:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movups (%rdi), %xmm0 ; ATOM-NEXT: movups (%rdi), %xmm0 # sched: [3:1.50]
; ATOM-NEXT: addps %xmm0, %xmm0 ; ATOM-NEXT: addps %xmm0, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: movups %xmm0, (%rsi) ; ATOM-NEXT: movups %xmm0, (%rsi) # sched: [2:1.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movups: ; SLM-LABEL: test_movups:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1652,9 +1652,9 @@ define <4 x float> @test_mulps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_mulps: ; ATOM-LABEL: test_mulps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: mulps %xmm1, %xmm0 ; ATOM-NEXT: mulps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: mulps (%rdi), %xmm0 ; ATOM-NEXT: mulps (%rdi), %xmm0 # sched: [10:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_mulps: ; SLM-LABEL: test_mulps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1700,9 +1700,9 @@ define float @test_mulss(float %a0, float %a1, float *%a2) {
; ;
; ATOM-LABEL: test_mulss: ; ATOM-LABEL: test_mulss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: mulss %xmm1, %xmm0 ; ATOM-NEXT: mulss %xmm1, %xmm0 # sched: [4:4.00]
; ATOM-NEXT: mulss (%rdi), %xmm0 ; ATOM-NEXT: mulss (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_mulss: ; SLM-LABEL: test_mulss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1750,15 +1750,15 @@ define <4 x float> @test_orps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a2
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: orps %xmm1, %xmm0 ; ATOM-NEXT: orps %xmm1, %xmm0
; ATOM-NEXT: orps (%rdi), %xmm0 ; ATOM-NEXT: orps (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_orps: ; SLM-LABEL: test_orps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1807,14 +1807,14 @@ define void @test_prefetchnta(i8* %a0) {
; ;
; ATOM-LABEL: test_prefetchnta: ; ATOM-LABEL: test_prefetchnta:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: prefetchnta (%rdi) ; ATOM-NEXT: prefetchnta (%rdi) # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_prefetchnta: ; SLM-LABEL: test_prefetchnta:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1855,11 +1855,11 @@ define <4 x float> @test_rcpps(<4 x float> %a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_rcpps: ; ATOM-LABEL: test_rcpps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: rcpps (%rdi), %xmm1 ; ATOM-NEXT: rcpps (%rdi), %xmm1 # sched: [10:5.00]
; ATOM-NEXT: rcpps %xmm0, %xmm0 ; ATOM-NEXT: rcpps %xmm0, %xmm0 # sched: [9:4.50]
; ATOM-NEXT: addps %xmm0, %xmm1 ; ATOM-NEXT: addps %xmm0, %xmm1 # sched: [5:5.00]
; ATOM-NEXT: movaps %xmm1, %xmm0 ; ATOM-NEXT: movaps %xmm1, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_rcpps: ; SLM-LABEL: test_rcpps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1917,11 +1917,11 @@ define <4 x float> @test_rcpss(float %a0, float *%a1) {
; ;
; ATOM-LABEL: test_rcpss: ; ATOM-LABEL: test_rcpss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movss {{.*#+}} xmm1 = mem[0],zero,zero,zero ; ATOM-NEXT: movss {{.*#+}} xmm1 = mem[0],zero,zero,zero sched: [1:1.00]
; ATOM-NEXT: rcpss %xmm0, %xmm0 ; ATOM-NEXT: rcpss %xmm0, %xmm0
; ATOM-NEXT: rcpss %xmm1, %xmm1 ; ATOM-NEXT: rcpss %xmm1, %xmm1
; ATOM-NEXT: addps %xmm1, %xmm0 ; ATOM-NEXT: addps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_rcpss: ; SLM-LABEL: test_rcpss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -1982,11 +1982,11 @@ define <4 x float> @test_rsqrtps(<4 x float> %a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_rsqrtps: ; ATOM-LABEL: test_rsqrtps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: rsqrtps (%rdi), %xmm1 ; ATOM-NEXT: rsqrtps (%rdi), %xmm1 # sched: [10:5.00]
; ATOM-NEXT: rsqrtps %xmm0, %xmm0 ; ATOM-NEXT: rsqrtps %xmm0, %xmm0 # sched: [9:4.50]
; ATOM-NEXT: addps %xmm0, %xmm1 ; ATOM-NEXT: addps %xmm0, %xmm1 # sched: [5:5.00]
; ATOM-NEXT: movaps %xmm1, %xmm0 ; ATOM-NEXT: movaps %xmm1, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_rsqrtps: ; SLM-LABEL: test_rsqrtps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2044,11 +2044,11 @@ define <4 x float> @test_rsqrtss(float %a0, float *%a1) {
; ;
; ATOM-LABEL: test_rsqrtss: ; ATOM-LABEL: test_rsqrtss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movss {{.*#+}} xmm1 = mem[0],zero,zero,zero ; ATOM-NEXT: movss {{.*#+}} xmm1 = mem[0],zero,zero,zero sched: [1:1.00]
; ATOM-NEXT: rsqrtss %xmm0, %xmm0 ; ATOM-NEXT: rsqrtss %xmm0, %xmm0
; ATOM-NEXT: rsqrtss %xmm1, %xmm1 ; ATOM-NEXT: rsqrtss %xmm1, %xmm1
; ATOM-NEXT: addps %xmm1, %xmm0 ; ATOM-NEXT: addps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_rsqrtss: ; SLM-LABEL: test_rsqrtss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2107,14 +2107,14 @@ define void @test_sfence() {
; ;
; ATOM-LABEL: test_sfence: ; ATOM-LABEL: test_sfence:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: sfence ; ATOM-NEXT: sfence # sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_sfence: ; SLM-LABEL: test_sfence:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2154,13 +2154,13 @@ define <4 x float> @test_shufps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%
; ;
; ATOM-LABEL: test_shufps: ; ATOM-LABEL: test_shufps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0],xmm1[0,0] ; ATOM-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0],xmm1[0,0] sched: [1:1.00]
; ATOM-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,3],mem[0,0] ; ATOM-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,3],mem[0,0] sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_shufps: ; SLM-LABEL: test_shufps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2207,10 +2207,10 @@ define <4 x float> @test_sqrtps(<4 x float> %a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_sqrtps: ; ATOM-LABEL: test_sqrtps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: sqrtps %xmm0, %xmm1 ; ATOM-NEXT: sqrtps %xmm0, %xmm1 # sched: [70:35.00]
; ATOM-NEXT: sqrtps (%rdi), %xmm0 ; ATOM-NEXT: sqrtps (%rdi), %xmm0 # sched: [70:35.00]
; ATOM-NEXT: addps %xmm1, %xmm0 ; ATOM-NEXT: addps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_sqrtps: ; SLM-LABEL: test_sqrtps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2268,11 +2268,11 @@ define <4 x float> @test_sqrtss(<4 x float> %a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_sqrtss: ; ATOM-LABEL: test_sqrtss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movaps (%rdi), %xmm1 ; ATOM-NEXT: movaps (%rdi), %xmm1 # sched: [1:1.00]
; ATOM-NEXT: sqrtss %xmm0, %xmm0 ; ATOM-NEXT: sqrtss %xmm0, %xmm0
; ATOM-NEXT: sqrtss %xmm1, %xmm1 ; ATOM-NEXT: sqrtss %xmm1, %xmm1
; ATOM-NEXT: addps %xmm1, %xmm0 ; ATOM-NEXT: addps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_sqrtss: ; SLM-LABEL: test_sqrtss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2330,9 +2330,9 @@ define i32 @test_stmxcsr() {
; ;
; ATOM-LABEL: test_stmxcsr: ; ATOM-LABEL: test_stmxcsr:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: stmxcsr -{{[0-9]+}}(%rsp) ; ATOM-NEXT: stmxcsr -{{[0-9]+}}(%rsp) # sched: [15:7.50]
; ATOM-NEXT: movl -{{[0-9]+}}(%rsp), %eax ; ATOM-NEXT: movl -{{[0-9]+}}(%rsp), %eax # sched: [1:1.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_stmxcsr: ; SLM-LABEL: test_stmxcsr:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2380,9 +2380,9 @@ define <4 x float> @test_subps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ;
; ATOM-LABEL: test_subps: ; ATOM-LABEL: test_subps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: subps %xmm1, %xmm0 ; ATOM-NEXT: subps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: subps (%rdi), %xmm0 ; ATOM-NEXT: subps (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_subps: ; SLM-LABEL: test_subps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2428,9 +2428,9 @@ define float @test_subss(float %a0, float %a1, float *%a2) {
; ;
; ATOM-LABEL: test_subss: ; ATOM-LABEL: test_subss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: subss %xmm1, %xmm0 ; ATOM-NEXT: subss %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: subss (%rdi), %xmm0 ; ATOM-NEXT: subss (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_subss: ; SLM-LABEL: test_subss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2484,17 +2484,17 @@ define i32 @test_ucomiss(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a2) {
; ;
; ATOM-LABEL: test_ucomiss: ; ATOM-LABEL: test_ucomiss:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: ucomiss %xmm1, %xmm0 ; ATOM-NEXT: ucomiss %xmm1, %xmm0 # sched: [9:4.50]
; ATOM-NEXT: setnp %al ; ATOM-NEXT: setnp %al # sched: [1:0.50]
; ATOM-NEXT: sete %cl ; ATOM-NEXT: sete %cl # sched: [1:0.50]
; ATOM-NEXT: andb %al, %cl ; ATOM-NEXT: andb %al, %cl # sched: [1:0.50]
; ATOM-NEXT: ucomiss (%rdi), %xmm0 ; ATOM-NEXT: ucomiss (%rdi), %xmm0 # sched: [10:5.00]
; ATOM-NEXT: setnp %al ; ATOM-NEXT: setnp %al # sched: [1:0.50]
; ATOM-NEXT: sete %dl ; ATOM-NEXT: sete %dl # sched: [1:0.50]
; ATOM-NEXT: andb %al, %dl ; ATOM-NEXT: andb %al, %dl # sched: [1:0.50]
; ATOM-NEXT: orb %cl, %dl ; ATOM-NEXT: orb %cl, %dl # sched: [1:0.50]
; ATOM-NEXT: movzbl %dl, %eax ; ATOM-NEXT: movzbl %dl, %eax # sched: [1:1.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_ucomiss: ; SLM-LABEL: test_ucomiss:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2582,13 +2582,13 @@ define <4 x float> @test_unpckhps(<4 x float> %a0, <4 x float> %a1, <4 x float>
; ;
; ATOM-LABEL: test_unpckhps: ; ATOM-LABEL: test_unpckhps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3] ; ATOM-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3] sched: [1:1.00]
; ATOM-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],mem[2],xmm0[3],mem[3] ; ATOM-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],mem[2],xmm0[3],mem[3] sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_unpckhps: ; SLM-LABEL: test_unpckhps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2634,13 +2634,13 @@ define <4 x float> @test_unpcklps(<4 x float> %a0, <4 x float> %a1, <4 x float>
; ;
; ATOM-LABEL: test_unpcklps: ; ATOM-LABEL: test_unpcklps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1] ; ATOM-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1] sched: [1:1.00]
; ATOM-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],mem[0],xmm0[1],mem[1] ; ATOM-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],mem[0],xmm0[1],mem[1] sched: [1:1.00]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_unpcklps: ; SLM-LABEL: test_unpcklps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -2688,15 +2688,15 @@ define <4 x float> @test_xorps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: xorps %xmm1, %xmm0 ; ATOM-NEXT: xorps %xmm1, %xmm0
; ATOM-NEXT: xorps (%rdi), %xmm0 ; ATOM-NEXT: xorps (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_xorps: ; SLM-LABEL: test_xorps:
; SLM: # BB#0: ; SLM: # BB#0:

File diff suppressed because it is too large Load Diff

View File

@ -18,9 +18,9 @@ define <2 x double> @test_addsubpd(<2 x double> %a0, <2 x double> %a1, <2 x doub
; ;
; ATOM-LABEL: test_addsubpd: ; ATOM-LABEL: test_addsubpd:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: addsubpd %xmm1, %xmm0 ; ATOM-NEXT: addsubpd %xmm1, %xmm0 # sched: [6:3.00]
; ATOM-NEXT: addsubpd (%rdi), %xmm0 ; ATOM-NEXT: addsubpd (%rdi), %xmm0 # sched: [6:3.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_addsubpd: ; SLM-LABEL: test_addsubpd:
; SLM: # BB#0: ; SLM: # BB#0:
@ -67,9 +67,9 @@ define <4 x float> @test_addsubps(<4 x float> %a0, <4 x float> %a1, <4 x float>
; ;
; ATOM-LABEL: test_addsubps: ; ATOM-LABEL: test_addsubps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: addsubps %xmm1, %xmm0 ; ATOM-NEXT: addsubps %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: addsubps (%rdi), %xmm0 ; ATOM-NEXT: addsubps (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_addsubps: ; SLM-LABEL: test_addsubps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -116,9 +116,9 @@ define <2 x double> @test_haddpd(<2 x double> %a0, <2 x double> %a1, <2 x double
; ;
; ATOM-LABEL: test_haddpd: ; ATOM-LABEL: test_haddpd:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: haddpd %xmm1, %xmm0 ; ATOM-NEXT: haddpd %xmm1, %xmm0 # sched: [8:4.00]
; ATOM-NEXT: haddpd (%rdi), %xmm0 ; ATOM-NEXT: haddpd (%rdi), %xmm0 # sched: [9:4.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_haddpd: ; SLM-LABEL: test_haddpd:
; SLM: # BB#0: ; SLM: # BB#0:
@ -165,9 +165,9 @@ define <4 x float> @test_haddps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%
; ;
; ATOM-LABEL: test_haddps: ; ATOM-LABEL: test_haddps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: haddps %xmm1, %xmm0 ; ATOM-NEXT: haddps %xmm1, %xmm0 # sched: [8:4.00]
; ATOM-NEXT: haddps (%rdi), %xmm0 ; ATOM-NEXT: haddps (%rdi), %xmm0 # sched: [9:4.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_haddps: ; SLM-LABEL: test_haddps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -214,9 +214,9 @@ define <2 x double> @test_hsubpd(<2 x double> %a0, <2 x double> %a1, <2 x double
; ;
; ATOM-LABEL: test_hsubpd: ; ATOM-LABEL: test_hsubpd:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: hsubpd %xmm1, %xmm0 ; ATOM-NEXT: hsubpd %xmm1, %xmm0 # sched: [8:4.00]
; ATOM-NEXT: hsubpd (%rdi), %xmm0 ; ATOM-NEXT: hsubpd (%rdi), %xmm0 # sched: [9:4.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_hsubpd: ; SLM-LABEL: test_hsubpd:
; SLM: # BB#0: ; SLM: # BB#0:
@ -263,9 +263,9 @@ define <4 x float> @test_hsubps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%
; ;
; ATOM-LABEL: test_hsubps: ; ATOM-LABEL: test_hsubps:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: hsubps %xmm1, %xmm0 ; ATOM-NEXT: hsubps %xmm1, %xmm0 # sched: [8:4.00]
; ATOM-NEXT: hsubps (%rdi), %xmm0 ; ATOM-NEXT: hsubps (%rdi), %xmm0 # sched: [9:4.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_hsubps: ; SLM-LABEL: test_hsubps:
; SLM: # BB#0: ; SLM: # BB#0:
@ -311,10 +311,10 @@ define <16 x i8> @test_lddqu(i8* %a0) {
; ;
; ATOM-LABEL: test_lddqu: ; ATOM-LABEL: test_lddqu:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: lddqu (%rdi), %xmm0 ; ATOM-NEXT: lddqu (%rdi), %xmm0 # sched: [3:1.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_lddqu: ; SLM-LABEL: test_lddqu:
; SLM: # BB#0: ; SLM: # BB#0:
@ -355,11 +355,11 @@ define <2 x double> @test_movddup(<2 x double> %a0, <2 x double> *%a1) {
; ;
; ATOM-LABEL: test_movddup: ; ATOM-LABEL: test_movddup:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movddup {{.*#+}} xmm1 = mem[0,0] ; ATOM-NEXT: movddup {{.*#+}} xmm1 = mem[0,0] sched: [1:1.00]
; ATOM-NEXT: movddup {{.*#+}} xmm0 = xmm0[0,0] ; ATOM-NEXT: movddup {{.*#+}} xmm0 = xmm0[0,0] sched: [1:1.00]
; ATOM-NEXT: addpd %xmm0, %xmm1 ; ATOM-NEXT: addpd %xmm0, %xmm1 # sched: [6:3.00]
; ATOM-NEXT: movapd %xmm1, %xmm0 ; ATOM-NEXT: movapd %xmm1, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movddup: ; SLM-LABEL: test_movddup:
; SLM: # BB#0: ; SLM: # BB#0:
@ -412,11 +412,11 @@ define <4 x float> @test_movshdup(<4 x float> %a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_movshdup: ; ATOM-LABEL: test_movshdup:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movshdup {{.*#+}} xmm1 = mem[1,1,3,3] ; ATOM-NEXT: movshdup {{.*#+}} xmm1 = mem[1,1,3,3] sched: [1:1.00]
; ATOM-NEXT: movshdup {{.*#+}} xmm0 = xmm0[1,1,3,3] ; ATOM-NEXT: movshdup {{.*#+}} xmm0 = xmm0[1,1,3,3] sched: [1:1.00]
; ATOM-NEXT: addps %xmm0, %xmm1 ; ATOM-NEXT: addps %xmm0, %xmm1 # sched: [5:5.00]
; ATOM-NEXT: movaps %xmm1, %xmm0 ; ATOM-NEXT: movaps %xmm1, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movshdup: ; SLM-LABEL: test_movshdup:
; SLM: # BB#0: ; SLM: # BB#0:
@ -469,11 +469,11 @@ define <4 x float> @test_movsldup(<4 x float> %a0, <4 x float> *%a1) {
; ;
; ATOM-LABEL: test_movsldup: ; ATOM-LABEL: test_movsldup:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: movsldup {{.*#+}} xmm1 = mem[0,0,2,2] ; ATOM-NEXT: movsldup {{.*#+}} xmm1 = mem[0,0,2,2] sched: [1:1.00]
; ATOM-NEXT: movsldup {{.*#+}} xmm0 = xmm0[0,0,2,2] ; ATOM-NEXT: movsldup {{.*#+}} xmm0 = xmm0[0,0,2,2] sched: [1:1.00]
; ATOM-NEXT: addps %xmm0, %xmm1 ; ATOM-NEXT: addps %xmm0, %xmm1 # sched: [5:5.00]
; ATOM-NEXT: movaps %xmm1, %xmm0 ; ATOM-NEXT: movaps %xmm1, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_movsldup: ; SLM-LABEL: test_movsldup:
; SLM: # BB#0: ; SLM: # BB#0:

View File

@ -19,11 +19,11 @@ define <16 x i8> @test_pabsb(<16 x i8> %a0, <16 x i8> *%a1) {
; ;
; ATOM-LABEL: test_pabsb: ; ATOM-LABEL: test_pabsb:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: pabsb (%rdi), %xmm1 ; ATOM-NEXT: pabsb (%rdi), %xmm1 # sched: [1:1.00]
; ATOM-NEXT: pabsb %xmm0, %xmm0 ; ATOM-NEXT: pabsb %xmm0, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: por %xmm0, %xmm1 ; ATOM-NEXT: por %xmm0, %xmm1 # sched: [1:0.50]
; ATOM-NEXT: movdqa %xmm1, %xmm0 ; ATOM-NEXT: movdqa %xmm1, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_pabsb: ; SLM-LABEL: test_pabsb:
; SLM: # BB#0: ; SLM: # BB#0:
@ -77,11 +77,11 @@ define <4 x i32> @test_pabsd(<4 x i32> %a0, <4 x i32> *%a1) {
; ;
; ATOM-LABEL: test_pabsd: ; ATOM-LABEL: test_pabsd:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: pabsd (%rdi), %xmm1 ; ATOM-NEXT: pabsd (%rdi), %xmm1 # sched: [1:1.00]
; ATOM-NEXT: pabsd %xmm0, %xmm0 ; ATOM-NEXT: pabsd %xmm0, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: por %xmm0, %xmm1 ; ATOM-NEXT: por %xmm0, %xmm1 # sched: [1:0.50]
; ATOM-NEXT: movdqa %xmm1, %xmm0 ; ATOM-NEXT: movdqa %xmm1, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_pabsd: ; SLM-LABEL: test_pabsd:
; SLM: # BB#0: ; SLM: # BB#0:
@ -133,14 +133,14 @@ define <8 x i16> @test_pabsw(<8 x i16> %a0, <8 x i16> *%a1) {
; ;
; ATOM-LABEL: test_pabsw: ; ATOM-LABEL: test_pabsw:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: pabsw %xmm0, %xmm0 ; ATOM-NEXT: pabsw %xmm0, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_pabsw: ; SLM-LABEL: test_pabsw:
; SLM: # BB#0: ; SLM: # BB#0:
@ -184,12 +184,12 @@ define <8 x i16> @test_palignr(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
; ;
; ATOM-LABEL: test_palignr: ; ATOM-LABEL: test_palignr:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: palignr {{.*#+}} xmm1 = xmm0[6,7,8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5] ; ATOM-NEXT: palignr {{.*#+}} xmm1 = xmm0[6,7,8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5] sched: [1:1.00]
; ATOM-NEXT: palignr {{.*#+}} xmm1 = mem[14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13] ; ATOM-NEXT: palignr {{.*#+}} xmm1 = mem[14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13] sched: [1:1.00]
; ATOM-NEXT: movdqa %xmm1, %xmm0 ; ATOM-NEXT: movdqa %xmm1, %xmm0 # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_palignr: ; SLM-LABEL: test_palignr:
; SLM: # BB#0: ; SLM: # BB#0:
@ -236,9 +236,9 @@ define <4 x i32> @test_phaddd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
; ;
; ATOM-LABEL: test_phaddd: ; ATOM-LABEL: test_phaddd:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: phaddd %xmm1, %xmm0 ; ATOM-NEXT: phaddd %xmm1, %xmm0 # sched: [3:1.50]
; ATOM-NEXT: phaddd (%rdi), %xmm0 ; ATOM-NEXT: phaddd (%rdi), %xmm0 # sched: [4:2.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_phaddd: ; SLM-LABEL: test_phaddd:
; SLM: # BB#0: ; SLM: # BB#0:
@ -287,15 +287,15 @@ define <8 x i16> @test_phaddsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: phaddsw %xmm1, %xmm0 ; ATOM-NEXT: phaddsw %xmm1, %xmm0
; ATOM-NEXT: phaddsw (%rdi), %xmm0 ; ATOM-NEXT: phaddsw (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_phaddsw: ; SLM-LABEL: test_phaddsw:
; SLM: # BB#0: ; SLM: # BB#0:
@ -342,9 +342,9 @@ define <8 x i16> @test_phaddw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
; ;
; ATOM-LABEL: test_phaddw: ; ATOM-LABEL: test_phaddw:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: phaddw %xmm1, %xmm0 ; ATOM-NEXT: phaddw %xmm1, %xmm0 # sched: [7:3.50]
; ATOM-NEXT: phaddw (%rdi), %xmm0 ; ATOM-NEXT: phaddw (%rdi), %xmm0 # sched: [8:4.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_phaddw: ; SLM-LABEL: test_phaddw:
; SLM: # BB#0: ; SLM: # BB#0:
@ -391,9 +391,9 @@ define <4 x i32> @test_phsubd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
; ;
; ATOM-LABEL: test_phsubd: ; ATOM-LABEL: test_phsubd:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: phsubd %xmm1, %xmm0 ; ATOM-NEXT: phsubd %xmm1, %xmm0 # sched: [3:1.50]
; ATOM-NEXT: phsubd (%rdi), %xmm0 ; ATOM-NEXT: phsubd (%rdi), %xmm0 # sched: [4:2.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_phsubd: ; SLM-LABEL: test_phsubd:
; SLM: # BB#0: ; SLM: # BB#0:
@ -442,15 +442,15 @@ define <8 x i16> @test_phsubsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: phsubsw %xmm1, %xmm0 ; ATOM-NEXT: phsubsw %xmm1, %xmm0
; ATOM-NEXT: phsubsw (%rdi), %xmm0 ; ATOM-NEXT: phsubsw (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_phsubsw: ; SLM-LABEL: test_phsubsw:
; SLM: # BB#0: ; SLM: # BB#0:
@ -497,9 +497,9 @@ define <8 x i16> @test_phsubw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
; ;
; ATOM-LABEL: test_phsubw: ; ATOM-LABEL: test_phsubw:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: phsubw %xmm1, %xmm0 ; ATOM-NEXT: phsubw %xmm1, %xmm0 # sched: [7:3.50]
; ATOM-NEXT: phsubw (%rdi), %xmm0 ; ATOM-NEXT: phsubw (%rdi), %xmm0 # sched: [8:4.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_phsubw: ; SLM-LABEL: test_phsubw:
; SLM: # BB#0: ; SLM: # BB#0:
@ -546,9 +546,9 @@ define <8 x i16> @test_pmaddubsw(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
; ;
; ATOM-LABEL: test_pmaddubsw: ; ATOM-LABEL: test_pmaddubsw:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: pmaddubsw %xmm1, %xmm0 ; ATOM-NEXT: pmaddubsw %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: pmaddubsw (%rdi), %xmm0 ; ATOM-NEXT: pmaddubsw (%rdi), %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_pmaddubsw: ; SLM-LABEL: test_pmaddubsw:
; SLM: # BB#0: ; SLM: # BB#0:
@ -595,8 +595,8 @@ define <8 x i16> @test_pmulhrsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
; ;
; ATOM-LABEL: test_pmulhrsw: ; ATOM-LABEL: test_pmulhrsw:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: pmulhrsw %xmm1, %xmm0 ; ATOM-NEXT: pmulhrsw %xmm1, %xmm0 # sched: [5:5.00]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_pmulhrsw: ; SLM-LABEL: test_pmulhrsw:
; SLM: # BB#0: ; SLM: # BB#0:
@ -638,9 +638,9 @@ define <16 x i8> @test_pshufb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
; ;
; ATOM-LABEL: test_pshufb: ; ATOM-LABEL: test_pshufb:
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: pshufb %xmm1, %xmm0 ; ATOM-NEXT: pshufb %xmm1, %xmm0 # sched: [4:2.00]
; ATOM-NEXT: pshufb (%rdi), %xmm0 ; ATOM-NEXT: pshufb (%rdi), %xmm0 # sched: [5:2.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_pshufb: ; SLM-LABEL: test_pshufb:
; SLM: # BB#0: ; SLM: # BB#0:
@ -689,15 +689,15 @@ define <16 x i8> @test_psignb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: psignb %xmm1, %xmm0 ; ATOM-NEXT: psignb %xmm1, %xmm0
; ATOM-NEXT: psignb (%rdi), %xmm0 ; ATOM-NEXT: psignb (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_psignb: ; SLM-LABEL: test_psignb:
; SLM: # BB#0: ; SLM: # BB#0:
@ -746,15 +746,15 @@ define <4 x i32> @test_psignd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: psignd %xmm1, %xmm0 ; ATOM-NEXT: psignd %xmm1, %xmm0
; ATOM-NEXT: psignd (%rdi), %xmm0 ; ATOM-NEXT: psignd (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_psignd: ; SLM-LABEL: test_psignd:
; SLM: # BB#0: ; SLM: # BB#0:
@ -803,15 +803,15 @@ define <8 x i16> @test_psignw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
; ATOM: # BB#0: ; ATOM: # BB#0:
; ATOM-NEXT: psignw %xmm1, %xmm0 ; ATOM-NEXT: psignw %xmm1, %xmm0
; ATOM-NEXT: psignw (%rdi), %xmm0 ; ATOM-NEXT: psignw (%rdi), %xmm0
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: nop ; ATOM-NEXT: nop # sched: [1:0.50]
; ATOM-NEXT: retq ; ATOM-NEXT: retq # sched: [79:39.50]
; ;
; SLM-LABEL: test_psignw: ; SLM-LABEL: test_psignw:
; SLM: # BB#0: ; SLM: # BB#0: