Skip to content

Commit

Permalink
shift needs inside 0-63
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoling-yi committed Jan 19, 2024
1 parent 0449d5a commit 53fbb65
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/test/scala/simd/PETest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class PEManualTest
verify(61791880, -54, 115, 67108864, 47, 127, -128, true.B, 127)
verify(118289203, 55, 56, 536870912, 50, 127, -128, true.B, 112)
verify(182938555, -69, -118, 16777216, 45, 127, -128, true.B, -31)
verify(182938555, -69, -118, 1566, 65, 127, -128, true.B, -128)
verify(182938555, -69, -128, 1566, 63, 127, -128, true.B, -128)

// test if the golden model matches c spec
assert(
Expand Down Expand Up @@ -189,13 +189,13 @@ class PEManualTest
127,
-128,
doubleRound = true
)
- 128 == postProcessingGoldenModel(
) &&
-128 == postProcessingGoldenModel(
182938555,
-69,
-118,
-128,
1566,
65,
63,
127,
-128,
doubleRound = true
Expand Down

0 comments on commit 53fbb65

Please sign in to comment.