poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix fast track of ios_read_uint


From: egeyar
Subject: [PATCH] Fix fast track of ios_read_uint
Date: Sat, 2 Nov 2019 19:04:17 +0100

Hello,

The attached patch fixes the fast track of the ios_read_uint and adds test cases to cover the fast track as well.

The cases of aligned 16 bits for both endianness are already tested in maps-uint-1.pk and maps-uint-2.pk. Therefore, this patch skips them and adds cases for all other aligned 8k bits up to 64. 

The proposed ChangeLog is:
2019-11-02  Egeyar Bagcioglu  <address@hidden>

        * src/ios.c (ios_read_uint): Fix the fast track for 40 bit integers.
        * testsuite/poke.map/maps-uint-41.pk: New test.
        * testsuite/poke.map/maps-uint-42.pk: Likewise.
        * testsuite/poke.map/maps-uint-43.pk: Likewise.
        * testsuite/poke.map/maps-uint-44.pk: Likewise.
        * testsuite/poke.map/maps-uint-45.pk: Likewise.
        * testsuite/poke.map/maps-uint-46.pk: Likewise.
        * testsuite/poke.map/maps-uint-47.pk: Likewise.
        * testsuite/poke.map/maps-uint-48.pk: Likewise.
        * testsuite/poke.map/maps-uint-49.pk: Likewise.
        * testsuite/poke.map/maps-uint-50.pk: Likewise.
        * testsuite/poke.map/maps-uint-51.pk: Likewise.
        * testsuite/poke.map/maps-uint-52.pk: Likewise.
        * testsuite/poke.map/maps-uint-53.pk: Likewise.
        * testsuite/poke.map/maps-uint-54.pk: Likewise.

Please take a look and apply if legitimate.

Regards
Egeyar

Attachment: fix-ios_read_uint.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]