public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [nios2] [0/7] Support for Nios II R2
@ 2015-07-14 22:29 Sandra Loosemore
  2015-07-14 22:35 ` [nios2] [1/7] Add -march=, -mbmx, -mcdx flags Sandra Loosemore
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Sandra Loosemore @ 2015-07-14 22:29 UTC (permalink / raw)
  To: GCC Patches

I will shortly begin committing a patch series to add GCC support for
Nios II R2, a revision of the original Nios II instruction set.  I
previously wrote up some notes on the technical changes from R1 to R2
when I posted the corresponding binutils patches, here:

https://sourceware.org/ml/binutils/2015-07/msg00014.html

The patch series is in 7 parts.  Parts 1-3 add support for the R2
re-encodings of the base R1 instruction set.  Parts 4-7 include
support for generating the new R2-specific instructions.

[1] Add -march=, -mbmx, -mcdx flags
[2] Adjust for reduced offsets in R2 load/store IO insns
[3] Correct nested function trampolines for R2 encodings
[4] Support new R2 instructions
[5] Support R2 CDX load/store multiple instructions
[6] Update function prologues/epilogues for R2 CDX
[7] Add new intrinsics

The patches are self-contained enough build individually when applied
in sequence, but I've only tested them together as a group.  Locally,
we have been building and testing three multilibs for nios2-elf: the
default R1, plain R2, and R2 with CDX and BMX extensions enabled.  For
now we are leaving R1 as the only multilib being built by default.

Presently there is no support for R2 on nios2-linux-gnu targets.  This
isn't a fundamental limitation of the architecture, we just don't have
kernel or glibc/dynamic linker support yet.  I've regression-tested
the patches on the default R1 nios2-linux-gnu target to ensure they
don't break anything, though.

-Sandra

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

end of thread, other threads:[~2015-07-14 23:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-14 22:29 [nios2] [0/7] Support for Nios II R2 Sandra Loosemore
2015-07-14 22:35 ` [nios2] [1/7] Add -march=, -mbmx, -mcdx flags Sandra Loosemore
2015-07-14 23:01 ` [nios2] [2/7] Adjust for reduced offsets in R2 load/store IO insns Sandra Loosemore
2015-07-14 23:18 ` [nios2] [3/7] Correct nested function trampolines for R2 encodings Sandra Loosemore
2015-07-14 23:29 ` [nios2] [4/7] Support new R2 instructions Sandra Loosemore
2015-07-14 23:33 ` [nios2] [5/7] Support R2 CDX load/store multiple instructions Sandra Loosemore
2015-07-14 23:49 ` [nios2] [6/7] Update function prologues/epilogues for R2 CDX Sandra Loosemore
2015-07-15  0:03 ` [nios2] [7/7] Add new intrinsics Sandra Loosemore

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 read-only IMAP folder(s) and NNTP newsgroup(s).