Linux-Sparse Archive on lore.kernel.org
 help / color / Atom feed
From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH 0/9] arch specific predefines
Date: Tue, 14 Jul 2020 00:32:54 +0200
Message-ID: <20200713223304.83666-1-luc.vanoostenryck@gmail.com> (raw)

This series contains some small adjustments to the builtin types
and their predefined macros, for all supported architectures.

This should fully cover now all the integer types. The next step
would be the ones for floating-point numbers but it's not exactly
on the high-priority list.


Luc Van Oostenryck (9):
  sparc: add 'sparcv8' predefines for sparc32
  alpha: has 64-bit long double & int128
  ppc: add predefines __LONGDOUBLE128 & __LONG_DOUBLE_128__
  arch: add predefines __INT_LEAST${N}_TYPE__
  arch: add predefines __INT_FAST${N}_TYPE__
  predefine: teach sparse about __SIG_ATOMIC_TYPE__
  arch: allow target specific [u]intptr_t & ptrdiff_t
  x86-x32: fix it by defining a separate target for it
  predefine: let predefine_width() take the usual interface

 predefine.c         | 31 +++++++++++++++++++-----
 symbol.c            |  7 ++++++
 symbol.h            |  3 ---
 target-alpha.c      |  3 +++
 target-arm.c        |  7 ++++++
 target-h8300.c      |  7 ++++++
 target-m68k.c       |  9 +++++++
 target-microblaze.c |  9 +++++++
 target-nds32.c      |  5 ++++
 target-nios2.c      |  9 +++++++
 target-openrisc.c   |  5 ++++
 target-ppc.c        | 13 ++++++++++
 target-riscv.c      | 12 ++++++++-
 target-s390.c       | 12 +++++++++
 target-sh.c         |  8 ++++++
 target-sparc.c      | 24 +++++++++++++++---
 target-x86.c        | 59 +++++++++++++++++++++++++++++++++++++++++++++
 target-xtensa.c     |  5 ++++
 target.c            | 33 ++++++++++++++++++++++---
 target.h            | 21 ++++++++++++++++
 20 files changed, 266 insertions(+), 16 deletions(-)


base-commit: d2947a933574da18bab1ef7b7534199f44cf9e98
-- 
2.27.0


             reply index

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-13 22:32 Luc Van Oostenryck [this message]
2020-07-13 22:32 ` [PATCH 1/9] sparc: add 'sparcv8' predefines for sparc32 Luc Van Oostenryck
2020-07-13 22:32 ` [PATCH 2/9] alpha: has 64-bit long double & int128 Luc Van Oostenryck
2020-07-13 22:32 ` [PATCH 3/9] ppc: add predefines __LONGDOUBLE128 & __LONG_DOUBLE_128__ Luc Van Oostenryck
2020-07-13 22:32 ` [PATCH 4/9] arch: add predefines __INT_LEAST${N}_TYPE__ Luc Van Oostenryck
2020-07-13 22:32 ` [PATCH 5/9] arch: add predefines __INT_FAST${N}_TYPE__ Luc Van Oostenryck
2020-07-13 22:33 ` [PATCH 6/9] predefine: teach sparse about __SIG_ATOMIC_TYPE__ Luc Van Oostenryck
2020-07-13 22:33 ` [PATCH 7/9] arch: allow target specific [u]intptr_t & ptrdiff_t Luc Van Oostenryck
2020-07-13 22:33 ` [PATCH 8/9] x86-x32: fix it by defining a separate target for it Luc Van Oostenryck
2020-07-13 22:33 ` [PATCH 9/9] predefine: let predefine_width() take the usual interface Luc Van Oostenryck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200713223304.83666-1-luc.vanoostenryck@gmail.com \
    --to=luc.vanoostenryck@gmail.com \
    --cc=linux-sparse@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Sparse Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-sparse/0 linux-sparse/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-sparse linux-sparse/ https://lore.kernel.org/linux-sparse \
		linux-sparse@vger.kernel.org
	public-inbox-index linux-sparse

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-sparse


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git