Petro Karashchenko
Petro Karashchenko
Thank you @lieff! I will try it out. Also with setting of `tr.object_type_indication` to `MOV_OBJECT_G711u` I think I will need to set `tr.time_scale` to `8000`, because G711 use 8kHz sample...
@claziss I was just developing code with workaround suggested in https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/246 because I can't use `__attribute__((uncached))` with a full power. This is one of the findings :) But potentially there...
@abrodkin I think we are looking for https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/246 fix actually. This issue comes as a result of a workaround that we are currently using. For now we have changed the...
@claziss the relaxing of _align_ property does not help. Actually I think for GCC `packed` means `aligned(1)`. At least when I change all `__attribute__((packed,aligned(1),uncached))` to `__attribute__((packed,uncached))` I'm getting same code...
@claziss `-munaligned-access` seems to generate better code and it does not drop `.di` suffix. But seems ARC600 does not support unaligned access. So I will need to wait for a...
@claziss Thank you. Actually applying `-mno-volatile-cache` helps and I'm getting my code working as expected. I have few `volatile` variables that are shared between main thread and ISR and do...
Unfortunately usage of `-mno-volatile-cache` brings new issue. As I have mentioned I have few `volatile` variables that are `cached`, but with `-mno-volatile-cache` become `uncached`. All other cases that I'm using...
The workaround can be go thru the code and mark all `volatile` variables and place into a separate `section` and align section in linker script
@claziss I'm wondering on how `-mno-volatile-cache` makes compiler to generate correct code. I was looking in the code and found that it seems to manipulates only with `VOLATILE_CACHE_SET` and it...
Some more reference cases. Somehow if the first member of a struct is accessed, then compiler generates correct code, but for all other members the code is incorrect: ``` #include...