cpc / openasip

Open Application-Specific Instruction Set processor tools (OpenASIP)
http://openasip.org
Other
140 stars 42 forks source link

Fixes from almaif work #182

Closed TopiLeppanen closed 1 year ago

TopiLeppanen commented 1 year ago

Three unrelated commits fixing some bugs I found: First one was found when compiling some fp16 code for LE machines.

The second one was a ProDe GUI bug that prevented any addition of memory ops to 32-bit LE machines. This was due to the base.opp now defining the LE memory operations trigger operand width to be 64. (Due to le-64 support)

The third one was found when compiling printf for PoCL use case. Here compiler would optimize away the memset function, and then LLVM would add memset intrinsics anyway.