* copyright assignment papers
@ 2001-11-17 15:24 Adam Megacz
2001-11-18 5:16 ` Alexandre Petit-Bianco
2001-11-26 14:50 ` copyright assignment papers Adam Megacz
0 siblings, 2 replies; 9+ messages in thread
From: Adam Megacz @ 2001-11-17 15:24 UTC (permalink / raw)
To: assignments, gcc
Hey, I'd like to submit some patches to gcj (gcc java frontend) as
well as libjava (gcc java companion library). Could you please send me
the requisite paperwork so I can assign my copyrights to the FSF?
Also, I am developing some other software (totally unrelated to GCC)
and releasing it under the GPL, however, I must retain copyright on
that software. Anyways, I just want to make sure that the paperwork
makes it clear that only my contributions to FSF-owned projects will
be reassigned.
Thanks!
- a
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: copyright assignment papers
2001-11-17 15:24 copyright assignment papers Adam Megacz
@ 2001-11-18 5:16 ` Alexandre Petit-Bianco
2001-11-26 17:29 ` Alexandre Petit-Bianco
2001-12-03 6:24 ` Gerald Pfeifer
2001-11-26 14:50 ` copyright assignment papers Adam Megacz
1 sibling, 2 replies; 9+ messages in thread
From: Alexandre Petit-Bianco @ 2001-11-18 5:16 UTC (permalink / raw)
To: gcc, pfeifer
Adam Megacz <adam@megacz.com> writes:
> Hey, I'd like to submit some patches to gcj (gcc java frontend) as
> well as libjava (gcc java companion library).
Excellent!
> Could you please send me the requisite paperwork so I can assign my
> copyrights to the FSF?
I think this should be what you're looking for. Gerald, is this still
valid:
http://gcc.gnu.org/ml/gcc/2001-10/msg00593.html
./A
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: copyright assignment papers
2001-11-18 5:16 ` Alexandre Petit-Bianco
@ 2001-11-26 17:29 ` Alexandre Petit-Bianco
2001-12-03 6:24 ` Gerald Pfeifer
1 sibling, 0 replies; 9+ messages in thread
From: Alexandre Petit-Bianco @ 2001-11-26 17:29 UTC (permalink / raw)
To: gcc, pfeifer
Adam Megacz <adam@megacz.com> writes:
> Hey, I'd like to submit some patches to gcj (gcc java frontend) as
> well as libjava (gcc java companion library).
Excellent!
> Could you please send me the requisite paperwork so I can assign my
> copyrights to the FSF?
I think this should be what you're looking for. Gerald, is this still
valid:
http://gcc.gnu.org/ml/gcc/2001-10/msg00593.html
./A
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: copyright assignment papers
2001-11-18 5:16 ` Alexandre Petit-Bianco
2001-11-26 17:29 ` Alexandre Petit-Bianco
@ 2001-12-03 6:24 ` Gerald Pfeifer
2001-12-03 9:52 ` How are case statements laid out? Peter Barada
1 sibling, 1 reply; 9+ messages in thread
From: Gerald Pfeifer @ 2001-12-03 6:24 UTC (permalink / raw)
To: Alexandre Petit-Bianco; +Cc: gcc
On 26 Nov 2001, Alexandre Petit-Bianco wrote:
>> Could you please send me the requisite paperwork so I can assign my
>> copyrights to the FSF?
> I think this should be what you're looking for. Gerald, is this still
> valid:
>
> http://gcc.gnu.org/ml/gcc/2001-10/msg00593.html
Yes, as far as I know.
(Sorry for the delay, I've been offline last week.)
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
^ permalink raw reply [flat|nested] 9+ messages in thread
* How are case statements laid out?
2001-12-03 6:24 ` Gerald Pfeifer
@ 2001-12-03 9:52 ` Peter Barada
2001-12-03 14:55 ` Richard Henderson
0 siblings, 1 reply; 9+ messages in thread
From: Peter Barada @ 2001-12-03 9:52 UTC (permalink / raw)
Cc: gcc
I noticed that the case statement for 68k/Coldfire generates code
along the lines of:
.set .LI87,.+2
move.w .L87-.LI87.b(%pc,%d0.l*2),%d0
ext.l %d0
jmp %pc@(2,%d0:l)
.align 2
.swbeg &10
.L87:
.word .L64-.L87
.word .L65-.L87
.word .L64-.L87
This allows a displacement between .L87 and the start of the case body
to be up to 32767 bytes away(forward or backward since %d0 is
*sign-extended*). If the code is changed to:
.set .LI87,.+2
moveq.l #0,%d0
move.w .L87-.LI87.b(%pc,%d0.l*2),%d0
jmp %pc@(2,%d0:l)
.align 2
.swbeg &10
.L87:
.word .L64-.L87
.word .L65-.L87
.word .L64-.L87
Then the displacement can go *forward* up to 65535 bytes away(since
%d0 is *zero-extended*). My question is whether or not the compiler
*always* places the switch selector before the case body?
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How are case statements laid out?
2001-12-03 9:52 ` How are case statements laid out? Peter Barada
@ 2001-12-03 14:55 ` Richard Henderson
2001-12-04 7:11 ` Peter Barada
0 siblings, 1 reply; 9+ messages in thread
From: Richard Henderson @ 2001-12-03 14:55 UTC (permalink / raw)
To: Peter Barada; +Cc: gcc
On Mon, Dec 03, 2001 at 12:51:59PM -0500, Peter Barada wrote:
> My question is whether or not the compiler
> *always* places the switch selector before the case body?
No, it doesn't.
r~
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How are case statements laid out?
2001-12-03 14:55 ` Richard Henderson
@ 2001-12-04 7:11 ` Peter Barada
2001-12-04 10:00 ` Richard Henderson
0 siblings, 1 reply; 9+ messages in thread
From: Peter Barada @ 2001-12-04 7:11 UTC (permalink / raw)
To: rth; +Cc: gcc
>> My question is whether or not the compiler
>> *always* places the switch selector before the case body?
>
>No, it doesn't.
Do you have an example?
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How are case statements laid out?
2001-12-04 7:11 ` Peter Barada
@ 2001-12-04 10:00 ` Richard Henderson
0 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 2001-12-04 10:00 UTC (permalink / raw)
To: Peter Barada; +Cc: gcc
On Tue, Dec 04, 2001 at 10:11:22AM -0500, Peter Barada wrote:
> Do you have an example?
Well, the easiest example is
gcc -O2 -S -fno-reorder-blocks z.c
int foo(int i)
{
if (i < 0)
{
label:
return -1;
}
switch (i)
{
case 0:
return 0;
case 1:
return 1;
case 2:
return 2;
case 3:
return 3;
case 4:
return 4;
case 5:
goto label;
}
return 6;
}
as the goto will be folded into the table jump directly.
But apart from that -freorder-blocks will rearrange everything
as it sees fit.
r~
^ permalink raw reply [flat|nested] 9+ messages in thread
* copyright assignment papers
2001-11-17 15:24 copyright assignment papers Adam Megacz
2001-11-18 5:16 ` Alexandre Petit-Bianco
@ 2001-11-26 14:50 ` Adam Megacz
1 sibling, 0 replies; 9+ messages in thread
From: Adam Megacz @ 2001-11-26 14:50 UTC (permalink / raw)
To: assignments, gcc
Hey, I'd like to submit some patches to gcj (gcc java frontend) as
well as libjava (gcc java companion library). Could you please send me
the requisite paperwork so I can assign my copyrights to the FSF?
Also, I am developing some other software (totally unrelated to GCC)
and releasing it under the GPL, however, I must retain copyright on
that software. Anyways, I just want to make sure that the paperwork
makes it clear that only my contributions to FSF-owned projects will
be reassigned.
Thanks!
- a
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2001-12-04 18:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-17 15:24 copyright assignment papers Adam Megacz
2001-11-18 5:16 ` Alexandre Petit-Bianco
2001-11-26 17:29 ` Alexandre Petit-Bianco
2001-12-03 6:24 ` Gerald Pfeifer
2001-12-03 9:52 ` How are case statements laid out? Peter Barada
2001-12-03 14:55 ` Richard Henderson
2001-12-04 7:11 ` Peter Barada
2001-12-04 10:00 ` Richard Henderson
2001-11-26 14:50 ` copyright assignment papers Adam Megacz
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).