Skip to content

Commit

Permalink
Simplify Minimal target
Browse files Browse the repository at this point in the history
  • Loading branch information
robcasloz committed Nov 1, 2020
1 parent b8654db commit ee8157a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 7 additions & 1 deletion src/unison/src/Unison/Target/Minimal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import qualified Unison.Target.API as API
import Unison.Target.RegisterArray

import Unison.Target.Minimal.MinimalRegisterDecl
import Unison.Target.Minimal.MinimalResourceDecl
import Unison.Target.Minimal.SpecsGen.MinimalInstructionDecl
import Unison.Target.Minimal.SpecsGen.MinimalRegisterClassDecl
import qualified Unison.Target.Minimal.SpecsGen as SpecsGen
Expand Down Expand Up @@ -196,6 +195,13 @@ packedPairs _ _ = []
-- | Gives pairs of operands whose registers are related extensionally
relatedPairs _ = []

data MinimalResource =
-- Size of each instruction
BundleWidth |
-- Simple resource to enforce single-issue
Issue
deriving (Eq, Ord, Show, Read)

-- | Declares target architecture resources. An issue width of w can be
-- specified with the option --targetoption=issue-width:w.
resources to =
Expand Down
8 changes: 0 additions & 8 deletions src/unison/src/Unison/Target/Minimal/MinimalResourceDecl.hs

This file was deleted.

1 change: 0 additions & 1 deletion src/unison/unison.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ Library
Unison.Target.Mips.SpecsGen.Parent

Unison.Target.Minimal.MinimalRegisterDecl
Unison.Target.Minimal.MinimalResourceDecl
Unison.Target.Minimal.SpecsGen
Unison.Target.Minimal.SpecsGen.MinimalInstructionDecl
Unison.Target.Minimal.SpecsGen.MinimalItineraryDecl
Expand Down

0 comments on commit ee8157a

Please sign in to comment.