public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: YZ Dai <yz@mailhost.telecruz.com>
To: help-gcc@gnu.org
Subject: GCC ASM(): Urgent!
Date: Tue, 29 Feb 2000 18:10:00 -0000	[thread overview]
Message-ID: <38BC7BDD.8C3DFF6C@telecruz.com> (raw)

Hi,

I'm using GNU CC, ccmips or asmips. I see within the generated .s file
from .c file there are:

jpeg_idct_ifast:
 .frame $fp,368,$31  # vars= 360, regs= 1/0, args= 0, extra= 0
 .mask 0x40000000,-8
 .fmask 0x00000000,0

1. What does .frame,.mask and .fmask means?
2. Which registers are protected? Which registers I can use in my ASM()
routine?
3. How to support Mips R3900 instruction like MULT rd,rs,rt?
4. In GCC book within a macro "\" gives operator value, but the example
gives compile error:
.macro mname rd
    .word   \ rd
.endm

5. How to debug and trace in the asm() instructions in a .C file?

Many thanks!

YZ DAI



WARNING: multiple messages have this Message-ID
From: YZ Dai <yz@mailhost.telecruz.com>
To: help-gcc@gnu.org
Subject: GCC ASM(): Urgent!
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <38BC7BDD.8C3DFF6C@telecruz.com> (raw)
Message-ID: <20000401000000.jbPrgHOQtiVqjqX59ek0N_zrbKc-N-kzPPBuy3jVduc@z> (raw)

Hi,

I'm using GNU CC, ccmips or asmips. I see within the generated .s file
from .c file there are:

jpeg_idct_ifast:
 .frame $fp,368,$31  # vars= 360, regs= 1/0, args= 0, extra= 0
 .mask 0x40000000,-8
 .fmask 0x00000000,0

1. What does .frame,.mask and .fmask means?
2. Which registers are protected? Which registers I can use in my ASM()
routine?
3. How to support Mips R3900 instruction like MULT rd,rs,rt?
4. In GCC book within a macro "\" gives operator value, but the example
gives compile error:
.macro mname rd
    .word   \ rd
.endm

5. How to debug and trace in the asm() instructions in a .C file?

Many thanks!

YZ DAI



             reply	other threads:[~2000-02-29 18:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-29 18:10 YZ Dai [this message]
2000-03-01  0:59 ` Martin v. Loewis
2000-04-01  0:00   ` Martin v. Loewis
2000-03-01 11:34 ` Alexandre Oliva
2000-04-01  0:00   ` Alexandre Oliva
2000-04-01  0:00 ` YZ Dai

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=38BC7BDD.8C3DFF6C@telecruz.com \
    --to=yz@mailhost.telecruz.com \
    --cc=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).