This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[AArch64, PATCH 1/5] Improve MOVI handling (Change interface of aarch64_simd_valid_immediate)


(This patch is the first of five, where the first 4 do some clean-up and
the last fixes a bug with scalar MOVI.  The bug fix without the clean-up
was particularly ugly!)


This one is pretty simple - just altering an interface, so we can later
remove an unnecessary wrapper function.


OK for trunk?

Cheers,
Ian


13-06-03  Ian Bolton  <ian.bolton@arm.com>

        * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Change
        return type to bool for prototype.
        (aarch64_legitimate_constant_p): Check for true instead of not -1.
        (aarch64_simd_valid_immediate): Fix up each return to return a bool.
        (aarch64_simd_immediate_valid_for_move): Update retval for bool.

Attachment: aarch64-movi-cleanup-part1-v4.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]