Commit 2823492e authored by Peter Trommler's avatar Peter Trommler 🥁 Committed by Ben Gamari

NCG: Implement trivColorable for PowerPC 64-bit

Define constants for 64-bit PowerPC in graph coloring register
allocator.

Test Plan: ./validate

Reviewers: simonmar, austin, erikd, bgamari, hvr

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2791
parent 90fae01c
...@@ -111,7 +111,7 @@ trivColorable platform virtualRegSqueeze realRegSqueeze RcInteger conflicts excl ...@@ -111,7 +111,7 @@ trivColorable platform virtualRegSqueeze realRegSqueeze RcInteger conflicts excl
ArchPPC -> 16 ArchPPC -> 16
ArchSPARC -> 14 ArchSPARC -> 14
ArchSPARC64 -> panic "trivColorable ArchSPARC64" ArchSPARC64 -> panic "trivColorable ArchSPARC64"
ArchPPC_64 _ -> panic "trivColorable ArchPPC_64" ArchPPC_64 _ -> 15
ArchARM _ _ _ -> panic "trivColorable ArchARM" ArchARM _ _ _ -> panic "trivColorable ArchARM"
ArchARM64 -> panic "trivColorable ArchARM64" ArchARM64 -> panic "trivColorable ArchARM64"
ArchAlpha -> panic "trivColorable ArchAlpha" ArchAlpha -> panic "trivColorable ArchAlpha"
...@@ -137,7 +137,7 @@ trivColorable platform virtualRegSqueeze realRegSqueeze RcFloat conflicts exclus ...@@ -137,7 +137,7 @@ trivColorable platform virtualRegSqueeze realRegSqueeze RcFloat conflicts exclus
ArchPPC -> 0 ArchPPC -> 0
ArchSPARC -> 22 ArchSPARC -> 22
ArchSPARC64 -> panic "trivColorable ArchSPARC64" ArchSPARC64 -> panic "trivColorable ArchSPARC64"
ArchPPC_64 _ -> panic "trivColorable ArchPPC_64" ArchPPC_64 _ -> 0
ArchARM _ _ _ -> panic "trivColorable ArchARM" ArchARM _ _ _ -> panic "trivColorable ArchARM"
ArchARM64 -> panic "trivColorable ArchARM64" ArchARM64 -> panic "trivColorable ArchARM64"
ArchAlpha -> panic "trivColorable ArchAlpha" ArchAlpha -> panic "trivColorable ArchAlpha"
...@@ -163,7 +163,7 @@ trivColorable platform virtualRegSqueeze realRegSqueeze RcDouble conflicts exclu ...@@ -163,7 +163,7 @@ trivColorable platform virtualRegSqueeze realRegSqueeze RcDouble conflicts exclu
ArchPPC -> 26 ArchPPC -> 26
ArchSPARC -> 11 ArchSPARC -> 11
ArchSPARC64 -> panic "trivColorable ArchSPARC64" ArchSPARC64 -> panic "trivColorable ArchSPARC64"
ArchPPC_64 _ -> panic "trivColorable ArchPPC_64" ArchPPC_64 _ -> 20
ArchARM _ _ _ -> panic "trivColorable ArchARM" ArchARM _ _ _ -> panic "trivColorable ArchARM"
ArchARM64 -> panic "trivColorable ArchARM64" ArchARM64 -> panic "trivColorable ArchARM64"
ArchAlpha -> panic "trivColorable ArchAlpha" ArchAlpha -> panic "trivColorable ArchAlpha"
...@@ -189,7 +189,7 @@ trivColorable platform virtualRegSqueeze realRegSqueeze RcDoubleSSE conflicts ex ...@@ -189,7 +189,7 @@ trivColorable platform virtualRegSqueeze realRegSqueeze RcDoubleSSE conflicts ex
ArchPPC -> 0 ArchPPC -> 0
ArchSPARC -> 0 ArchSPARC -> 0
ArchSPARC64 -> panic "trivColorable ArchSPARC64" ArchSPARC64 -> panic "trivColorable ArchSPARC64"
ArchPPC_64 _ -> panic "trivColorable ArchPPC_64" ArchPPC_64 _ -> 0
ArchARM _ _ _ -> panic "trivColorable ArchARM" ArchARM _ _ _ -> panic "trivColorable ArchARM"
ArchARM64 -> panic "trivColorable ArchARM64" ArchARM64 -> panic "trivColorable ArchARM64"
ArchAlpha -> panic "trivColorable ArchAlpha" ArchAlpha -> panic "trivColorable ArchAlpha"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment