Skip to content

Commit

Permalink
revert changes made by clash sed script hack that were not meant to b…
Browse files Browse the repository at this point in the history
…e committed
  • Loading branch information
samuelgruetter committed May 24, 2023
1 parent f23b6ee commit 2d039fc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Spec/Decode.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Spec.Decode where

-- Haskell lib imports

import Data.Bits hiding (Xor, And, Or) -- For bit-wise 'and' (.&.) etc.
import Data.Bits -- For bit-wise 'and' (.&.) etc.
import Data.Word -- For Word32 type (unsigned 32-bit ints)
import Prelude
-- Local imports
Expand Down Expand Up @@ -567,13 +567,13 @@ decode iset inst =
results :: [Instruction]
results =
resultI ++
-- REDACTED to make clash work
-- REDACTED to make clash work
-- REDACTED to make clash work
-- REDACTED to make clash work
-- REDACTED to make clash work
-- REDACTED to make clash work
-- REDACTED to make clash work
(if supportsM iset then resultM else []) ++
(if supportsA iset then resultA else []) ++
(if supportsF iset then resultF else []) ++
(if bitwidth iset == 64 then resultI64 else []) ++
(if bitwidth iset == 64 && supportsM iset then resultM64 else []) ++
(if bitwidth iset == 64 && supportsA iset then resultA64 else []) ++
(if bitwidth iset == 64 && supportsF iset then resultF64 else []) ++
resultCSR

resultI = if isValidI decodeI then [IInstruction decodeI] else []
Expand Down

0 comments on commit 2d039fc

Please sign in to comment.