Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/lib/jvm/java-8-openjdk-amd64/bin/java -javaagent:/home/joe/.idea/lib/idea_rt.jar=45479:/home/joe/.idea/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/icedtea-sound.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/home/joe/programming/java/tntlutgen/out/production/tntlutgen ReversalTest
- LUT: [11_1000_1011, 01_1101_1101, 01_0011_1100, 01_0010_0000, 00_0100_0100, 11_1001_0000, 10_0000_1100]
- Col j = 0
- val after bvec[j] = 0000_0001_0001_1001_1000_1010
- Computing lut * mm1 product 11_1000_1011 * 0000_0000_0001_1010
- Value before sign handling: 0000_0000_0101_1100_0001_1110
- Value after sign handling: 1111_1111_1010_0011_1110_0001
- Computing lut * mm1 product 01_1101_1101 * 0000_0000_0111_0101
- Value before sign handling: 0000_0000_1101_1010_0000_0001
- Value after sign handling: 1111_1111_0010_0101_1111_1110
- Computing lut * mm1 product 01_0011_1100 * 0000_0000_0000_0011
- Value before sign handling: 0000_0000_0000_0011_1011_0100
- Computing lut * mm1 product 01_0010_0000 * 0000_0000_0001_0010
- Value before sign handling: 0000_0000_0001_0100_0100_0000
- Computing lut * mm1 product 00_0100_0100 * 0000_0000_0010_1011
- Value before sign handling: 0000_0000_0000_1011_0110_1100
- Computing lut * mm1 product 11_1001_0000 * 0000_0000_0001_0101
- Value before sign handling: 0000_0000_0100_1010_1101_0000
- Value after sign handling: 1111_1111_1011_0101_0010_1111
- Computing lut * mm1 product 10_0000_1100 * 0000_0000_0010_1100
- Value before sign handling: 0000_0000_0101_1010_0001_0000
- Value after sign handling: 1111_1111_1010_0101_1110_1111
- val after dot: 1111_1111_0110_0001_1110_0111
- Final val: 1111_1111_1111_1111_1111_1111_1111_1111_0011_1111_1101_1000
- Col j = 1
- val after bvec[j] = 1111_1111_1000_0010_0010_1110
- Computing lut * mm1 product 11_1000_1011 * 0000_0000_0101_0001
- Value before sign handling: 0000_0001_0001_1110_1111_1011
- Value after sign handling: 1111_1110_1110_0001_0000_0100
- Computing lut * mm1 product 01_1101_1101 * 0000_0000_0000_0100
- Value before sign handling: 0000_0000_0000_0111_0111_0100
- Computing lut * mm1 product 01_0011_1100 * 0000_0000_0100_1111
- Value before sign handling: 0000_0000_0110_0001_1000_0100
- Computing lut * mm1 product 01_0010_0000 * 0000_0000_0001_1100
- Value before sign handling: 0000_0000_0001_1111_1000_0000
- Computing lut * mm1 product 00_0100_0100 * 0000_0000_0011_1111
- Value before sign handling: 0000_0000_0001_0000_1011_1100
- Computing lut * mm1 product 11_1001_0000 * 0000_0000_0000_0110
- Value before sign handling: 0000_0000_0001_0101_0110_0000
- Value after sign handling: 1111_1111_1110_1010_1001_1111
- Computing lut * mm1 product 10_0000_1100 * 0000_0000_0001_1001
- Value before sign handling: 0000_0000_0011_0011_0010_1100
- val after dot: 1111_1111_0001_1010_0011_0001
- Final val: 1111_1111_1111_1111_1111_1111_1111_1111_0011_1111_1100_0110
- Col j = 2
- val after bvec[j] = 1111_1111_1100_0111_1000_0000
- Computing lut * mm1 product 11_1000_1011 * 0000_0000_0001_0000
- Value before sign handling: 0000_0000_0011_1000_1011_0000
- Value after sign handling: 1111_1111_1100_0111_0100_1111
- Computing lut * mm1 product 01_1101_1101 * 0000_0000_0010_1010
- Value before sign handling: 0000_0000_0100_1110_0100_0010
- Value after sign handling: 1111_1111_1011_0001_1011_1101
- Computing lut * mm1 product 01_0011_1100 * 0000_0000_0000_0001
- Value before sign handling: 0000_0000_0000_0001_0011_1100
- Computing lut * mm1 product 01_0010_0000 * 0000_0000_0011_0000
- Value before sign handling: 0000_0000_0011_0110_0000_0000
- Computing lut * mm1 product 00_0100_0100 * 0000_0000_0100_0100
- Value before sign handling: 0000_0000_0001_0010_0001_0000
- Value after sign handling: 1111_1111_1110_1101_1110_1111
- Computing lut * mm1 product 11_1001_0000 * 0000_0000_0101_1011
- Value before sign handling: 0000_0001_0100_0100_0011_0000
- Computing lut * mm1 product 10_0000_1100 * 0000_0000_0000_0110
- Value before sign handling: 0000_0000_0000_1100_0100_1000
- Value after sign handling: 1111_1111_1111_0011_1011_0111
- val after dot: 0000_0000_1001_1101_1001_1110
- Final val: 0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0010_0111
- Col j = 3
- val after bvec[j] = 1111_1111_0100_1011_1111_1100
- Computing lut * mm1 product 11_1000_1011 * 0000_0000_0011_0010
- Value before sign handling: 0000_0000_1011_0001_0010_0110
- Computing lut * mm1 product 01_1101_1101 * 0000_0000_0010_1101
- Value before sign handling: 0000_0000_0101_0011_1101_1001
- Value after sign handling: 1111_1111_1010_1100_0010_0110
- Computing lut * mm1 product 01_0011_1100 * 0000_0000_0101_1100
- Value before sign handling: 0000_0000_0111_0001_1001_0000
- Computing lut * mm1 product 01_0010_0000 * 0000_0000_0011_0101
- Value before sign handling: 0000_0000_0011_1011_1010_0000
- Computing lut * mm1 product 00_0100_0100 * 0000_0000_0000_1010
- Value before sign handling: 0000_0000_0000_0010_1010_1000
- Value after sign handling: 1111_1111_1111_1101_0101_0111
- Computing lut * mm1 product 11_1001_0000 * 0000_0000_0001_0011
- Value before sign handling: 0000_0000_0100_0011_1011_0000
- Value after sign handling: 1111_1111_1011_1100_0100_1111
- Computing lut * mm1 product 10_0000_1100 * 0000_0000_0000_0001
- Value before sign handling: 0000_0000_0000_0010_0000_1100
- Value after sign handling: 1111_1111_1111_1101_1111_0011
- val after dot: 0000_0000_0000_1110_0001_0001
- Final val: 0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0011
- Col j = 4
- val after bvec[j] = 0000_0000_0101_1100_0011_0011
- Computing lut * mm1 product 11_1000_1011 * 0000_0000_0000_1110
- Value before sign handling: 0000_0000_0011_0001_1001_1010
- Computing lut * mm1 product 01_1101_1101 * 0000_0000_0001_0100
- Value before sign handling: 0000_0000_0010_0101_0100_0100
- Value after sign handling: 1111_1111_1101_1010_1011_1011
- Computing lut * mm1 product 01_0011_1100 * 0000_0000_0000_0101
- Value before sign handling: 0000_0000_0000_0110_0010_1100
- Computing lut * mm1 product 01_0010_0000 * 0000_0000_0101_1100
- Value before sign handling: 0000_0000_0110_0111_1000_0000
- Value after sign handling: 1111_1111_1001_1000_0111_1111
- Computing lut * mm1 product 00_0100_0100 * 0000_0000_0010_0001
- Value before sign handling: 0000_0000_0000_1000_1100_0100
- Computing lut * mm1 product 11_1001_0000 * 0000_0000_0011_1000
- Value before sign handling: 0000_0000_1100_0111_1000_0000
- Computing lut * mm1 product 10_0000_1100 * 0000_0000_0010_1100
- Value before sign handling: 0000_0000_0101_1010_0001_0000
- Value after sign handling: 1111_1111_1010_0101_1110_1111
- val after dot: 0000_0000_0111_1101_0110_0110
- Final val: 0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0001_1111
- Col j = 5
- val after bvec[j] = 1111_1111_0111_1011_0111_0001
- Computing lut * mm1 product 11_1000_1011 * 0000_0000_0001_0110
- Value before sign handling: 0000_0000_0100_1101_1111_0010
- Computing lut * mm1 product 01_1101_1101 * 0000_0000_0011_1101
- Value before sign handling: 0000_0000_0111_0001_1010_1001
- Value after sign handling: 1111_1111_1000_1110_0101_0110
- Computing lut * mm1 product 01_0011_1100 * 0000_0000_0001_1010
- Value before sign handling: 0000_0000_0010_0000_0001_1000
- Computing lut * mm1 product 01_0010_0000 * 0000_0000_0010_0001
- Value before sign handling: 0000_0000_0010_0101_0010_0000
- Value after sign handling: 1111_1111_1101_1010_1101_1111
- Computing lut * mm1 product 00_0100_0100 * 0000_0000_0001_0010
- Value before sign handling: 0000_0000_0000_0100_1100_1000
- Computing lut * mm1 product 11_1001_0000 * 0000_0000_0011_0011
- Value before sign handling: 0000_0000_1011_0101_1011_0000
- Computing lut * mm1 product 10_0000_1100 * 0000_0000_0100_0001
- Value before sign handling: 0000_0000_1000_0101_0000_1100
- val after dot: 0000_0000_1001_0010_0011_0100
- Final val: 0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0010_0100
- Col j = 6
- val after bvec[j] = 0000_0001_1100_0101_1011_1111
- Computing lut * mm1 product 11_1000_1011 * 0000_0000_0100_1100
- Value before sign handling: 0000_0001_0000_1101_0100_0100
- Value after sign handling: 1111_1110_1111_0010_1011_1011
- Computing lut * mm1 product 01_1101_1101 * 0000_0000_0010_0000
- Value before sign handling: 0000_0000_0011_1011_1010_0000
- Value after sign handling: 1111_1111_1100_0100_0101_1111
- Computing lut * mm1 product 01_0011_1100 * 0000_0000_0000_1000
- Value before sign handling: 0000_0000_0000_1001_1110_0000
- Computing lut * mm1 product 01_0010_0000 * 0000_0000_0010_0001
- Value before sign handling: 0000_0000_0010_0101_0010_0000
- Value after sign handling: 1111_1111_1101_1010_1101_1111
- Computing lut * mm1 product 00_0100_0100 * 0000_0000_0011_1001
- Value before sign handling: 0000_0000_0000_1111_0010_0100
- Value after sign handling: 1111_1111_1111_0000_1101_1011
- Computing lut * mm1 product 11_1001_0000 * 0000_0000_0000_1100
- Value before sign handling: 0000_0000_0010_1010_1100_0000
- Value after sign handling: 1111_1111_1101_0101_0011_1111
- Computing lut * mm1 product 10_0000_1100 * 0000_0000_0010_0010
- Value before sign handling: 0000_0000_0100_0101_1001_1000
- val after dot: 0000_0000_0110_1101_0100_1010
- Final val: 0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0001_1011
- Expected: 173134528921403, actual: 5129042509627
- Diff: -113469490298880
- 0
- [614, 322, 218, 198, 50, 617, 356]
- 0
- 1
- Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement