public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "alines #7777" <alines7777@disroot.org>
To: gcc-help@gcc.gnu.org
Subject: GCC __asm__( … )
Date: Thu, 11 Apr 2024 13:21:20 -0400	[thread overview]
Message-ID: <7d611f71-9d92-409c-afb3-0711c6ecf6f6@Canary> (raw)

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

Hello, I was wondering where I could find the source code for the inline assembly feature of the GCC compiler,
I’ve been having trouble with an assembly instruction for “bswapl” on a i386 computer with GCC version 2.95.
The bswap instruction works fine with it, however bswapl doesn’t let my code compile, whether I use a long long int for its input as i assume or a 32-bit integer. The compiler says that I’m using invalid operands with the instruction, rather than that the instruction doesn’t exist, and I’m hoping to understand what kind of operands would be valid.
Thank you

--

Alines Quasev


             reply	other threads:[~2024-04-11 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11 17:21 alines #7777 [this message]
2024-04-11 17:35 ` Jonathan Wakely

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=7d611f71-9d92-409c-afb3-0711c6ecf6f6@Canary \
    --to=alines7777@disroot.org \
    --cc=gcc-help@gcc.gnu.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 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).