You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+13-11
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,18 @@ This is an unofficial GCC/Binutils port for the PRU I/O CPU core that is present
5
5
6
6
The release is ready for cautious usage. A simulator is used to execute the GCC C regression test suite. Results for this release are:
7
7
8
-
# of expected passes 87486
9
-
# of unexpected failures 17
10
-
# of unexpected successes 3
11
-
# of expected failures 151
12
-
# of unsupported tests 2621
8
+
# of expected passes 90967
9
+
# of unexpected failures 73
10
+
# of unexpected successes 9
11
+
# of expected failures 200
12
+
# of unsupported tests 2917
13
+
14
+
Results from the GCC ABI test suite:
15
+
16
+
# of expected passes 686
17
+
# of unexpected failures 7
18
+
# of unresolved testcases 38
19
+
# of unsupported tests 18
13
20
14
21
There are several examples to get started:
15
22
* Assorted small examples: https://github.com/dinuxbg/pru-gcc-examples
@@ -27,7 +34,7 @@ If you are running Beaglebone Debian Jessie image, then installation is simple:
27
34
28
35
For other Debian Jessie images, you'll need to add Robert Nelson's package repository. Open /etc/apt/sources.list and add the following line:
29
36
30
-
deb [arch=armhf] http://repos.rcn-ee.com/debian/ stretch main
37
+
deb [arch=armhf] http://repos.rcn-ee.com/debian/ jessie main
31
38
32
39
## Building From Sources
33
40
The toolchain is published as a series of patches inside the patches subdirectory. The build scripts are tested on a Debian host, but should work on any recent distro.
@@ -64,8 +71,3 @@ Testing the output:
64
71
65
72
## Acknowledgements
66
73
* GCC/Binutils Nios2 port was taken as a base for the PRU port.
67
-
68
-
## TODO
69
-
A few long term tasks:
70
-
* Need to review the GCC function prologue handling. Current code is a direct copy of the Nios2 code. It should be correct but is not efficient for PRU.
71
-
* Investigate feasibility of "packed" register support in GCC. PRU port may have to be rewritten to use "virtual" 8-bit registers in order to allow more efficient variable packing.
* ld: Switched relocations to be more compatible with TI's toolchain. YOU MUST RECOMPILE ALL YOUR SOURCE FILES - object files from old and new binutils cannot be linked together.
4
+
* Rebased to latest baseline.
5
+
6
+
-- Dimitar Dimitrov <dinux@tpdeb> Mon, 12 Mar 2018 20:54:12 +0200
0 commit comments