From: David Laight <david.laight.linux@gmail.com>
To: Vineet Gupta <vgupta@kernel.org>
Cc: Simon Schuster <schuster.simon@siemens-energy.com>,
Dinh Nguyen <dinguyen@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Arnd Bergmann <arnd@arndb.de>, Sasha Levin <sashal@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] lib: extract 32bit mul/div helpers from nios2 into GENERIC_LIB
Date: Thu, 5 Nov 2026 10:57:36 +0000 [thread overview]
Message-ID: <20261105105736.728782ab@pumpkin> (raw)
In-Reply-To: <bba7f6da-82ee-46cc-bd8f-b0e3e027f5e2@kernel.org>
On Tue, 3 Nov 2026 20:23:23 -0800
Vineet Gupta <vgupta@kernel.org> wrote:
> Nios it seems was removed from gcc?
Yep, Intel deprecated it not long before demerging Altera.
Loosely on the basis that they have a RISCV soft cpu for the fpga.
gcc followed (even though the code to support it isn't that big
- I can probably find a copy, you can't download it any more),
as has busybox.
This annoyed the company I worked for (and probably a lot of telco).
RISCV isn't a replacement in any sense, it is missing a lot of
features (like custom instructions) and doesn't have the same level
of customisation.
I wouldn't run Linux on one (you might get 100MHz if you are lucky
and it is definitely in-order one instruction per clock), but it is
useful for 'control pane' logic that would be too complex and large
in straight VHDL/Verilog.
Typically only a few KB of code running in a tight loop.
I've a clean-room copy of the integer part of the cpu - written
in a few weeks (and I'm not really a hardware engineer).
David
next prev parent reply other threads:[~2026-11-05 10:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 13:30 [PATCH v2 0/3] lib: Add software mul/div helpers and use them from nios2 Simon Schuster
2026-11-03 13:30 ` [PATCH v2 1/3] lib: extract 32bit mul/div helpers from nios2 into GENERIC_LIB Simon Schuster
2026-11-04 4:23 ` Vineet Gupta
2026-11-05 10:57 ` David Laight [this message]
2026-11-06 13:07 ` Simon Schuster
2026-11-08 0:33 ` Vineet Gupta
2026-11-03 13:30 ` [PATCH v2 2/3] nios2: export __divsi3_table Simon Schuster
2026-11-03 13:30 ` [PATCH v2 3/3] nios2: Drop usage of libgcc in favour of GENERIC_LIB_* Simon Schuster
2026-11-03 15:40 ` [PATCH v2 0/3] lib: Add software mul/div helpers and use them from nios2 Arnd Bergmann
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=20261105105736.728782ab@pumpkin \
--to=david.laight.linux@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=dinguyen@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sashal@kernel.org \
--cc=schuster.simon@siemens-energy.com \
--cc=vgupta@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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.