Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 653 - Compare with __builtin_assume #654

Open
wants to merge 30 commits into
base: issue-647
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f0dd923
builtin_assume test with Madgwick
PeiMu May 12, 2023
b55cd95
modify plot script for real sensor ranges
PeiMu May 13, 2023
4f334c0
set enableOverload and enableBuiltinAssume as options
PeiMu May 15, 2023
55be81e
add enableOverload and enableBuiltinAssume config in markdown and mak…
PeiMu May 15, 2023
76d7464
update Makefile by passing options in command line
PeiMu May 15, 2023
facbaee
use DEBUG macro in e_exp.c
PeiMu May 15, 2023
0ea368e
add debug macro to some micro-benchmarks
PeiMu May 15, 2023
b4ddf10
fix bugs of softfloat micro benchmarks
PeiMu May 15, 2023
3f37e1f
add lowerBound and upperBound macro
PeiMu May 15, 2023
3eb50fb
upload builtin_assume test shell
PeiMu May 16, 2023
d0d2af7
enable overload
PeiMu May 17, 2023
6ed0243
compile e_j0 and e_y0 with sin/cos ieee implementation
PeiMu May 17, 2023
5693026
fix figure format
PeiMu May 18, 2023
cf7e76b
should remove redundant function first, then clean callerMap
PeiMu May 22, 2023
bd31828
add plot bitwise figure script
PeiMu May 24, 2023
9879c5c
modify plot bitwise figure script
PeiMu May 31, 2023
0e97c56
fix madgwick params config
PeiMu Jun 5, 2023
904f911
check accuracy
PeiMu Jun 6, 2023
1991dd2
comment printf and type explicit fix
PeiMu Jun 7, 2023
ff056d4
considering time consumption, we use a simple version of mulfix
PeiMu Jun 7, 2023
6e42134
use >> instead of multiply
PeiMu Jun 7, 2023
1f6ae86
only revert the quantized values before and after the type cast block
PeiMu Jun 7, 2023
4e1b977
explicit quantize
PeiMu Jun 7, 2023
8c330dd
basic structure of auto-quantization
PeiMu Jun 13, 2023
49c8862
implement alloca, call, store, etc
PeiMu Jun 13, 2023
d2cf16c
implement fmul/fdiv with constant operand
PeiMu Jun 14, 2023
b57e501
implement fneg
PeiMu Jun 14, 2023
6b7355a
implement fixmul
PeiMu Jun 14, 2023
318d743
fix alloca, call, bitcast and simplify constant
PeiMu Jun 16, 2023
fdaece9
single-func quantization
PeiMu Aug 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions analysis/statistics/037939ff02bddec74329ea92860048df64f63d75.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

changeset: 1484:037939ff02bddec74329ea92860048df64f63d75
char kNewtonVersion[] = "0.3-alpha-1484 (037939ff02bddec74329ea92860048df64f63d75) (build 05-07-2023-13:[email protected]_64)";
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt

Informational Report:
---------------------
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)...

Kernel 0 is a valid kernel:

1 1
-0.5 -0
1 0
0.5 0
0 -1
-0 -1


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0)

Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1)


Kernel 1 is a valid kernel:

1 0
-0.5 1
1 -2
0.5 -1
-0 -2
0 -2


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0)

Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2)




46 changes: 46 additions & 0 deletions analysis/statistics/0e97c5693eba0399a0b980aa080ca2382e025ac3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

changeset: 1499:0e97c5693eba0399a0b980aa080ca2382e025ac3
char kNewtonVersion[] = "0.3-alpha-1499 (0e97c5693eba0399a0b980aa080ca2382e025ac3) (build 06-06-2023-19:[email protected]_64)";
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt

Informational Report:
---------------------
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)...

Kernel 0 is a valid kernel:

1 1
-0.5 -0
1 0
0.5 0
0 -1
-0 -1


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0)

Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1)


Kernel 1 is a valid kernel:

1 0
-0.5 1
1 -2
0.5 -1
-0 -2
0 -2


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0)

Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2)




46 changes: 46 additions & 0 deletions analysis/statistics/0ea368e57710f6424cb888cebaff3fbd0e319897.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

changeset: 1489:0ea368e57710f6424cb888cebaff3fbd0e319897
char kNewtonVersion[] = "0.3-alpha-1489 (0ea368e57710f6424cb888cebaff3fbd0e319897) (build 05-15-2023-18:[email protected]_64)";
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt

Informational Report:
---------------------
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)...

Kernel 0 is a valid kernel:

1 1
-0.5 -0
1 0
0.5 0
0 -1
-0 -1


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0)

Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1)


Kernel 1 is a valid kernel:

1 0
-0.5 1
1 -2
0.5 -1
-0 -2
0 -2


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0)

Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2)




46 changes: 46 additions & 0 deletions analysis/statistics/1991dd2af3a26c4a43535ed0171dd1ea373609d1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

changeset: 1501:1991dd2af3a26c4a43535ed0171dd1ea373609d1
char kNewtonVersion[] = "0.3-alpha-1501 (1991dd2af3a26c4a43535ed0171dd1ea373609d1) (build 06-07-2023-13:[email protected]_64)";
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt

Informational Report:
---------------------
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)...

Kernel 0 is a valid kernel:

1 1
-0.5 -0
1 0
0.5 0
0 -1
-0 -1


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0)

Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1)


Kernel 1 is a valid kernel:

1 0
-0.5 1
1 -2
0.5 -1
-0 -2
0 -2


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0)

Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2)




46 changes: 46 additions & 0 deletions analysis/statistics/1b9cd1f4be586422deeb7650e112634a8b818569.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

changeset: 1481:1b9cd1f4be586422deeb7650e112634a8b818569
char kNewtonVersion[] = "0.3-alpha-1481 (1b9cd1f4be586422deeb7650e112634a8b818569) (build 05-01-2023-20:[email protected]_64)";
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt

Informational Report:
---------------------
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)...

Kernel 0 is a valid kernel:

1 1
-0.5 -0
1 0
0.5 0
0 -1
-0 -1


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0)

Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1)


Kernel 1 is a valid kernel:

1 0
-0.5 1
1 -2
0.5 -1
-0 -2
0 -2


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0)

Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2)




46 changes: 46 additions & 0 deletions analysis/statistics/1f6ae86b5d7aad826042279c0d63ad1adca38ceb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

changeset: 1504:1f6ae86b5d7aad826042279c0d63ad1adca38ceb
char kNewtonVersion[] = "0.3-alpha-1504 (1f6ae86b5d7aad826042279c0d63ad1adca38ceb) (build 06-07-2023-21:[email protected]_64)";
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt

Informational Report:
---------------------
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)...

Kernel 0 is a valid kernel:

1 1
-0.5 -0
1 0
0.5 0
0 -1
-0 -1


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0)

Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1)


Kernel 1 is a valid kernel:

1 0
-0.5 1
1 -2
0.5 -1
-0 -2
0 -2


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0)

Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2)




46 changes: 46 additions & 0 deletions analysis/statistics/2eda94ba67b6488d50f1ed827b16af60321719d2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

changeset: 1482:2eda94ba67b6488d50f1ed827b16af60321719d2
char kNewtonVersion[] = "0.3-alpha-1482 (2eda94ba67b6488d50f1ed827b16af60321719d2) (build 05-12-2023-17:[email protected]_64)";
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt

Informational Report:
---------------------
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)...

Kernel 0 is a valid kernel:

1 1
-0.5 -0
1 0
0.5 0
0 -1
-0 -1


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0)

Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1)


Kernel 1 is a valid kernel:

1 0
-0.5 1
1 -2
0.5 -1
-0 -2
0 -2


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0)

Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2)




46 changes: 46 additions & 0 deletions analysis/statistics/3eb50fb2fc3123aa810f455f00c9f1c545f75477.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

changeset: 1492:3eb50fb2fc3123aa810f455f00c9f1c545f75477
char kNewtonVersion[] = "0.3-alpha-1492 (3eb50fb2fc3123aa810f455f00c9f1c545f75477) (build 05-17-2023-16:[email protected]_64)";
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt

Informational Report:
---------------------
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)...

Kernel 0 is a valid kernel:

1 1
-0.5 -0
1 0
0.5 0
0 -1
-0 -1


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0)

Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1)


Kernel 1 is a valid kernel:

1 0
-0.5 1
1 -2
0.5 -1
-0 -2
0 -2


The ordering of parameters is: P1 P0 P3 P2 P4 P5

Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0)

Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2)




Loading