[riot-commits] [RIOT-OS/RIOT] c788fe: cpu/mips_pic32_common: GPIO: use bitarithm_test_an...

Marian Buschsieweke noreply at github.com
Tue Feb 2 15:24:33 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c788fe130f63f808d89c831f951c70394906dbc6
      https://github.com/RIOT-OS/RIOT/commit/c788fe130f63f808d89c831f951c70394906dbc6
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M cpu/mips_pic32_common/periph/gpio.c

  Log Message:
  -----------
  cpu/mips_pic32_common: GPIO: use bitarithm_test_and_clear()


  Commit: 4095eac9f21a794cff1f986221eb79dd3c851f15
      https://github.com/RIOT-OS/RIOT/commit/4095eac9f21a794cff1f986221eb79dd3c851f15
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M cpu/mips32r2_common/include/cpu.h

  Log Message:
  -----------
  cpu: mips32r2_common: set BITARITHM_HAS_CLZ

The MIPS ISA implements CLZ:

https://ti.tuwien.ac.at/cps/teaching/courses/cavo/files/MIPS32-IS.pdf

For `tests/periph_gpio` this shaves off 20 bytes on `6lowpan-clicker`.


  Commit: 00d013d7cf74ab5ed75f4296f949735dd3778d8a
      https://github.com/RIOT-OS/RIOT/commit/00d013d7cf74ab5ed75f4296f949735dd3778d8a
  Author: Marian Buschsieweke <maribu at users.noreply.github.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M cpu/mips32r2_common/include/cpu.h
    M cpu/mips_pic32_common/periph/gpio.c

  Log Message:
  -----------
  Merge pull request #14560 from benpicco/cpu/mips_pic32_common-bitarithm_test_and_clear

cpu/mips_pic32_common: GPIO: use bitarithm_test_and_clear()


Compare: https://github.com/RIOT-OS/RIOT/compare/837b55fc1741...00d013d7cf74


More information about the commits mailing list