foss-for-synopsys-dwc-arc-processors / buildroot

The development tree for Buildroot support for the Synopsys DesignWare ARC processor family
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/blob/arc-dev/README.md
Other
7 stars 2 forks source link

Revisit libnspr port for ARCv3 #46

Open kolerov opened 1 month ago

kolerov commented 1 month ago

There is a patch for adding support of ARCv3 to libnspr in Buildroot source tree: https://github.com/foss-for-synopsys-dwc-arc-processors/buildroot/commit/456c146417c8aee4eaab3c5b9ec77eeb2fcb1bab. I reverted (https://github.com/foss-for-synopsys-dwc-arc-processors/buildroot/commit/3a8ddd2b650ace863c090e30bee944976e60436a) this patch it is incorrect and does not define valid constants both for HS5x and HS6x targets. Moreover, I am not sure that HS6x implementation itself is correct. This must be investigated.

There are other questions regarding libnspr:

  1. What was the original motivation for adding this patch?
  2. How can we verify this implementation?