mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[X86][BtVer2] Add a 'J' prefix to the PRF/RCU defs. NFC
This is to keep the Jaguar model's naming convention. Processor resources all have a 'J' prefix in the BtVer2 scheduling model. llvm-svn: 332851
This commit is contained in:
parent
bfecd2d56d
commit
d65d55551b
@ -41,17 +41,17 @@ def JFPU1 : ProcResource<1>; // Vector/FPU Pipe1: VALU1/STC/FPM
|
||||
// The Integer PRF for Jaguar is 64 entries, and it holds the architectural and
|
||||
// speculative version of the 64-bit integer registers.
|
||||
// Reference: www.realworldtech.com/jaguar/4/
|
||||
def IntegerPRF : RegisterFile<64, [GR8, GR16, GR32, GR64, CCR]>;
|
||||
def JIntegerPRF : RegisterFile<64, [GR8, GR16, GR32, GR64, CCR]>;
|
||||
|
||||
// The Jaguar FP Retire Queue renames SIMD and FP uOps onto a pool of 72 SSE
|
||||
// registers. Operations on 256-bit data types are cracked into two COPs.
|
||||
// Reference: www.realworldtech.com/jaguar/4/
|
||||
def FpuPRF: RegisterFile<72, [VR64, VR128, VR256], [1, 1, 2]>;
|
||||
def JFpuPRF: RegisterFile<72, [VR64, VR128, VR256], [1, 1, 2]>;
|
||||
|
||||
// The retire control unit (RCU) can track up to 64 macro-ops in-flight. It can
|
||||
// retire up to two macro-ops per cycle.
|
||||
// Reference: "Software Optimization Guide for AMD Family 16h Processors"
|
||||
def RCU : RetireControlUnit<64, 2>;
|
||||
def JRCU : RetireControlUnit<64, 2>;
|
||||
|
||||
// Integer Pipe Scheduler
|
||||
def JALU01 : ProcResGroup<[JALU0, JALU1]> {
|
||||
|
@ -27,12 +27,12 @@ vmulps %xmm0, %xmm0, %xmm0
|
||||
# CHECK-NEXT: Total number of mappings created: 10
|
||||
# CHECK-NEXT: Max number of mappings used: 10
|
||||
|
||||
# CHECK: * Register File #1 -- FpuPRF:
|
||||
# CHECK: * Register File #1 -- JFpuPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 72
|
||||
# CHECK-NEXT: Total number of mappings created: 10
|
||||
# CHECK-NEXT: Max number of mappings used: 10
|
||||
|
||||
# CHECK: * Register File #2 -- IntegerPRF:
|
||||
# CHECK: * Register File #2 -- JIntegerPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 64
|
||||
# CHECK-NEXT: Total number of mappings created: 0
|
||||
# CHECK-NEXT: Max number of mappings used: 0
|
||||
|
@ -28,12 +28,12 @@ vmulps %xmm0, %xmm0, %xmm0
|
||||
# CHECK-NEXT: Total number of mappings created: 10
|
||||
# CHECK-NEXT: Max number of mappings used: 5
|
||||
|
||||
# CHECK: * Register File #1 -- FpuPRF:
|
||||
# CHECK: * Register File #1 -- JFpuPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 72
|
||||
# CHECK-NEXT: Total number of mappings created: 10
|
||||
# CHECK-NEXT: Max number of mappings used: 5
|
||||
|
||||
# CHECK: * Register File #2 -- IntegerPRF:
|
||||
# CHECK: * Register File #2 -- JIntegerPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 64
|
||||
# CHECK-NEXT: Total number of mappings created: 0
|
||||
# CHECK-NEXT: Max number of mappings used: 0
|
||||
|
@ -37,12 +37,12 @@ idiv %eax
|
||||
# CHECK-NEXT: Total number of mappings created: 6
|
||||
# CHECK-NEXT: Max number of mappings used: 3
|
||||
|
||||
# CHECK: * Register File #1 -- FpuPRF:
|
||||
# CHECK: * Register File #1 -- JFpuPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 72
|
||||
# CHECK-NEXT: Total number of mappings created: 0
|
||||
# CHECK-NEXT: Max number of mappings used: 0
|
||||
|
||||
# CHECK: * Register File #2 -- IntegerPRF:
|
||||
# CHECK: * Register File #2 -- JIntegerPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 64
|
||||
# CHECK-NEXT: Total number of mappings created: 6
|
||||
# CHECK-NEXT: Max number of mappings used: 3
|
||||
|
@ -37,12 +37,12 @@ idiv %eax
|
||||
# CHECK-NEXT: Total number of mappings created: 66
|
||||
# CHECK-NEXT: Max number of mappings used: 63
|
||||
|
||||
# CHECK: * Register File #1 -- FpuPRF:
|
||||
# CHECK: * Register File #1 -- JFpuPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 72
|
||||
# CHECK-NEXT: Total number of mappings created: 0
|
||||
# CHECK-NEXT: Max number of mappings used: 0
|
||||
|
||||
# CHECK: * Register File #2 -- IntegerPRF:
|
||||
# CHECK: * Register File #2 -- JIntegerPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 64
|
||||
# CHECK-NEXT: Total number of mappings created: 66
|
||||
# CHECK-NEXT: Max number of mappings used: 63
|
||||
|
@ -58,12 +58,12 @@
|
||||
# CHECK-NEXT: Total number of mappings created: 66
|
||||
# CHECK-NEXT: Max number of mappings used: 64
|
||||
|
||||
# CHECK: * Register File #1 -- FpuPRF:
|
||||
# CHECK: * Register File #1 -- JFpuPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 72
|
||||
# CHECK-NEXT: Total number of mappings created: 66
|
||||
# CHECK-NEXT: Max number of mappings used: 64
|
||||
|
||||
# CHECK: * Register File #2 -- IntegerPRF:
|
||||
# CHECK: * Register File #2 -- JIntegerPRF:
|
||||
# CHECK-NEXT: Number of physical registers: 64
|
||||
# CHECK-NEXT: Total number of mappings created: 0
|
||||
# CHECK-NEXT: Max number of mappings used: 0
|
||||
|
@ -56,12 +56,12 @@ add %eax, %eax
|
||||
# FULLREPORT-NEXT: Total number of mappings created: 200
|
||||
# FULLREPORT-NEXT: Max number of mappings used: 44
|
||||
|
||||
# FULLREPORT: * Register File #1 -- FpuPRF:
|
||||
# FULLREPORT: * Register File #1 -- JFpuPRF:
|
||||
# FULLREPORT-NEXT: Number of physical registers: 72
|
||||
# FULLREPORT-NEXT: Total number of mappings created: 0
|
||||
# FULLREPORT-NEXT: Max number of mappings used: 0
|
||||
|
||||
# FULLREPORT: * Register File #2 -- IntegerPRF:
|
||||
# FULLREPORT: * Register File #2 -- JIntegerPRF:
|
||||
# FULLREPORT-NEXT: Number of physical registers: 64
|
||||
# FULLREPORT-NEXT: Total number of mappings created: 200
|
||||
# FULLREPORT-NEXT: Max number of mappings used: 44
|
||||
|
@ -57,12 +57,12 @@ add %eax, %eax
|
||||
# FULL-NEXT: Total number of mappings created: 200
|
||||
# FULL-NEXT: Max number of mappings used: 44
|
||||
|
||||
# FULL: * Register File #1 -- FpuPRF:
|
||||
# FULL: * Register File #1 -- JFpuPRF:
|
||||
# FULL-NEXT: Number of physical registers: 72
|
||||
# FULL-NEXT: Total number of mappings created: 0
|
||||
# FULL-NEXT: Max number of mappings used: 0
|
||||
|
||||
# FULL: * Register File #2 -- IntegerPRF:
|
||||
# FULL: * Register File #2 -- JIntegerPRF:
|
||||
# FULL-NEXT: Number of physical registers: 64
|
||||
# FULL-NEXT: Total number of mappings created: 200
|
||||
# FULL-NEXT: Max number of mappings used: 44
|
||||
|
@ -56,12 +56,12 @@ add %eax, %eax
|
||||
# FULLREPORT-NEXT: Total number of mappings created: 200
|
||||
# FULLREPORT-NEXT: Max number of mappings used: 44
|
||||
|
||||
# FULLREPORT: * Register File #1 -- FpuPRF:
|
||||
# FULLREPORT: * Register File #1 -- JFpuPRF:
|
||||
# FULLREPORT-NEXT: Number of physical registers: 72
|
||||
# FULLREPORT-NEXT: Total number of mappings created: 0
|
||||
# FULLREPORT-NEXT: Max number of mappings used: 0
|
||||
|
||||
# FULLREPORT: * Register File #2 -- IntegerPRF:
|
||||
# FULLREPORT: * Register File #2 -- JIntegerPRF:
|
||||
# FULLREPORT-NEXT: Number of physical registers: 64
|
||||
# FULLREPORT-NEXT: Total number of mappings created: 200
|
||||
# FULLREPORT-NEXT: Max number of mappings used: 44
|
||||
|
@ -57,12 +57,12 @@ add %eax, %eax
|
||||
# ALL-NEXT: Total number of mappings created: 200
|
||||
# ALL-NEXT: Max number of mappings used: 44
|
||||
|
||||
# ALL: * Register File #1 -- FpuPRF:
|
||||
# ALL: * Register File #1 -- JFpuPRF:
|
||||
# ALL-NEXT: Number of physical registers: 72
|
||||
# ALL-NEXT: Total number of mappings created: 0
|
||||
# ALL-NEXT: Max number of mappings used: 0
|
||||
|
||||
# ALL: * Register File #2 -- IntegerPRF:
|
||||
# ALL: * Register File #2 -- JIntegerPRF:
|
||||
# ALL-NEXT: Number of physical registers: 64
|
||||
# ALL-NEXT: Total number of mappings created: 200
|
||||
# ALL-NEXT: Max number of mappings used: 44
|
||||
|
Loading…
x
Reference in New Issue
Block a user