linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Interaction between bitfields and casts
@ 2017-08-09 20:41 Dibyendu Majumdar
  2017-08-09 21:10 ` Luc Van Oostenryck
  2017-08-09 21:27 ` Linus Torvalds
  0 siblings, 2 replies; 7+ messages in thread
From: Dibyendu Majumdar @ 2017-08-09 20:41 UTC (permalink / raw)
  To: Linux-Sparse

Hi,

When assigning values to bitfields I have noticed that some times
Sparse generates a CAST instruction with an odd bit size - i.e. not a
standard integer size. I was wondering if there are specific scenarios
that lead to this. While LLVM handles the odd cast - I am working with
another backend (Nanojit) that doesn't.

Regards
Dibyendu

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-25 16:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-09 20:41 Interaction between bitfields and casts Dibyendu Majumdar
2017-08-09 21:10 ` Luc Van Oostenryck
2017-08-09 21:27 ` Linus Torvalds
2017-08-09 22:06   ` Luc Van Oostenryck
2017-08-09 22:44     ` Linus Torvalds
2017-08-09 22:56       ` Luc Van Oostenryck
2017-11-25 16:18       ` [SPARSE] cast rework (was: Re: Interaction between bitfields and casts) Luc Van Oostenryck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).