* Ultrix C compiler lossage
@ 1994-09-03 0:50 *Hobbit*
1994-09-04 18:56 ` John Hascall
[not found] ` <1994Nov1.185124.19879@MITL.Research.Panasonic.COM>
0 siblings, 2 replies; 4+ messages in thread
From: *Hobbit* @ 1994-09-03 0:50 UTC (permalink / raw)
The enclosed file is a TINY FRAGMENT of the "cpp -E" output from the
MD5 routine Transform(). I have it on a decstation 5000/120 MIPS box;
buglix 4.2; uname -a sez:
ULTRIX hostname 4.2 0 RISC.
This file, while syntactically correct and all, causes the stock "cc" to
deep-space, chugging away on Clod knows what and never returning. Would
someone else please give it a whirl and see if it's just me [or these MIT
decstations]?? Certainly people must have been able to build MD5.c on ultrix
decstations, but perhaps using different compilers. The lines are kinda long,
but that isn't the problem.
_H*
====================
typedef unsigned long int UINT4;
static void Transform (buf, in)
UINT4 *buf;
UINT4 *in;
{
UINT4 a = buf[0], b = buf[1], c = buf[2], d = buf[3];
{( a) += (((( b)) & ( ( c))) | ((~( b)) & ( ( d)))) + ( in[ 0]) + (UINT4)( 0xd76aa478); ( a) = (((( a)) << ( ( 7))) | ((( a)) >> (32-( ( 7))))); ( a) += ( b); };
{( d) += (((( a)) & ( ( b))) | ((~( a)) & ( ( c)))) + ( in[ 1]) + (UINT4)( 0xe8c7b756); ( d) = (((( d)) << ( ( 12))) | ((( d)) >> (32-( ( 12))))); ( d) += ( a); };
{( c) += (((( d)) & ( ( a))) | ((~( d)) & ( ( b)))) + ( in[ 2]) + (UINT4)( 0x242070db); ( c) = (((( c)) << ( ( 17))) | ((( c)) >> (32-( ( 17))))); ( c) += ( d); };
{( b) += (((( c)) & ( ( d))) | ((~( c)) & ( ( a)))) + ( in[ 3]) + (UINT4)( 0xc1bdceee); ( b) = (((( b)) << ( ( 22))) | ((( b)) >> (32-( ( 22))))); ( b) += ( c); };
{( a) += (((( b)) & ( ( c))) | ((~( b)) & ( ( d)))) + ( in[ 4]) + (UINT4)( 0xf57c0faf); ( a) = (((( a)) << ( ( 7))) | ((( a)) >> (32-( ( 7))))); ( a) += ( b); };
{( d) += (((( a)) & ( ( b))) | ((~( a)) & ( ( c)))) + ( in[ 5]) + (UINT4)( 0x4787c62a); ( d) = (((( d)) << ( ( 12))) | ((( d)) >> (32-( ( 12))))); ( d) += ( a); };
{( c) += (((( d)) & ( ( a))) | ((~( d)) & ( ( b)))) + ( in[ 6]) + (UINT4)( 0xa8304613); ( c) = (((( c)) << ( ( 17))) | ((( c)) >> (32-( ( 17))))); ( c) += ( d); };
{( b) += (((( c)) & ( ( d))) | ((~( c)) & ( ( a)))) + ( in[ 7]) + (UINT4)( 0xfd469501); ( b) = (((( b)) << ( ( 22))) | ((( b)) >> (32-( ( 22))))); ( b) += ( c); };
{( a) += (((( b)) & ( ( c))) | ((~( b)) & ( ( d)))) + ( in[ 8]) + (UINT4)( 0x698098d8); ( a) = (((( a)) << ( ( 7))) | ((( a)) >> (32-( ( 7))))); ( a) += ( b); };
{( d) += (((( a)) & ( ( b))) | ((~( a)) & ( ( c)))) + ( in[ 9]) + (UINT4)( 0x8b44f7af); ( d) = (((( d)) << ( ( 12))) | ((( d)) >> (32-( ( 12))))); ( d) += ( a); };
{( c) += (((( d)) & ( ( a))) | ((~( d)) & ( ( b)))) + ( in[10]) + (UINT4)( 0xffff5bb1); ( c) = (((( c)) << ( ( 17))) | ((( c)) >> (32-( ( 17))))); ( c) += ( d); };
{( b) += (((( c)) & ( ( d))) | ((~( c)) & ( ( a)))) + ( in[11]) + (UINT4)( 0x895cd7be); ( b) = (((( b)) << ( ( 22))) | ((( b)) >> (32-( ( 22))))); ( b) += ( c); };
{( a) += (((( b)) & ( ( c))) | ((~( b)) & ( ( d)))) + ( in[12]) + (UINT4)( 0x6b901122); ( a) = (((( a)) << ( ( 7))) | ((( a)) >> (32-( ( 7))))); ( a) += ( b); };
{( d) += (((( a)) & ( ( b))) | ((~( a)) & ( ( c)))) + ( in[13]) + (UINT4)( 0xfd987193); ( d) = (((( d)) << ( ( 12))) | ((( d)) >> (32-( ( 12))))); ( d) += ( a); };
{( c) += (((( d)) & ( ( a))) | ((~( d)) & ( ( b)))) + ( in[14]) + (UINT4)( 0xa679438e); ( c) = (((( c)) << ( ( 17))) | ((( c)) >> (32-( ( 17))))); ( c) += ( d); };
{( b) += (((( c)) & ( ( d))) | ((~( c)) & ( ( a)))) + ( in[15]) + (UINT4)( 0x49b40821); ( b) = (((( b)) << ( ( 22))) | ((( b)) >> (32-( ( 22))))); ( b) += ( c); };
{( a) += (((( b)) & ( ( d))) | (( ( c)) & (~ ( d)))) + ( in[ 1]) + (UINT4)( 0xf61e2562); ( a) = (((( a)) << ( ( 5))) | ((( a)) >> (32-( ( 5))))); ( a) += ( b); };
{( d) += (((( a)) & ( ( c))) | (( ( b)) & (~ ( c)))) + ( in[ 6]) + (UINT4)( 0xc040b340); ( d) = (((( d)) << ( ( 9))) | ((( d)) >> (32-( ( 9))))); ( d) += ( a); };
{( c) += (((( d)) & ( ( b))) | (( ( a)) & (~ ( b)))) + ( in[11]) + (UINT4)( 0x265e5a51); ( c) = (((( c)) << ( ( 14))) | ((( c)) >> (32-( ( 14))))); ( c) += ( d); };
{( b) += (((( c)) & ( ( a))) | (( ( d)) & (~ ( a)))) + ( in[ 0]) + (UINT4)( 0xe9b6c7aa); ( b) = (((( b)) << ( ( 20))) | ((( b)) >> (32-( ( 20))))); ( b) += ( c); };
{( a) += (((( b)) & ( ( d))) | (( ( c)) & (~ ( d)))) + ( in[ 5]) + (UINT4)( 0xd62f105d); ( a) = (((( a)) << ( ( 5))) | ((( a)) >> (32-( ( 5))))); ( a) += ( b); };
{( d) += (((( a)) & ( ( c))) | (( ( b)) & (~ ( c)))) + ( in[10]) + (UINT4)( 0x2441453); ( d) = (((( d)) << ( ( 9))) | ((( d)) >> (32-( ( 9))))); ( d) += ( a); };
{( c) += (((( d)) & ( ( b))) | (( ( a)) & (~ ( b)))) + ( in[15]) + (UINT4)( 0xd8a1e681); ( c) = (((( c)) << ( ( 14))) | ((( c)) >> (32-( ( 14))))); ( c) += ( d); };
{( b) += (((( c)) & ( ( a))) | (( ( d)) & (~ ( a)))) + ( in[ 4]) + (UINT4)( 0xe7d3fbc8); ( b) = (((( b)) << ( ( 20))) | ((( b)) >> (32-( ( 20))))); ( b) += ( c); };
{( a) += (((( b)) & ( ( d))) | (( ( c)) & (~ ( d)))) + ( in[ 9]) + (UINT4)( 0x21e1cde6); ( a) = (((( a)) << ( ( 5))) | ((( a)) >> (32-( ( 5))))); ( a) += ( b); };
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ultrix C compiler lossage
1994-09-03 0:50 Ultrix C compiler lossage *Hobbit*
@ 1994-09-04 18:56 ` John Hascall
1994-09-06 21:06 ` Jaye Mathisen
[not found] ` <1994Nov1.185124.19879@MITL.Research.Panasonic.COM>
1 sibling, 1 reply; 4+ messages in thread
From: John Hascall @ 1994-09-04 18:56 UTC (permalink / raw)
In article <050427.bc@elf.com>, *Hobbit* <hobbit@asylum.sf.ca.us> wrote:
}The enclosed file is a TINY FRAGMENT of the "cpp -E" output from the
}MD5 routine Transform(). I have it on a decstation 5000/120 MIPS box;
}buglix 4.2; uname -a sez:
} ULTRIX hostname 4.2 0 RISC.
}
}This file, while syntactically correct and all, causes the stock "cc" to
}deep-space, chugging away on Clod knows what and never returning. Would
}someone else please give it a whirl and see if it's just me [or these MIT
}decstations]?? Certainly people must have been able to build MD5.c on ultrix
}decstations, but perhaps using different compilers. The lines are kinda long,
}but that isn't the problem.
The compiler proper gets through it, but ugen apparently does
get stuck:
24284 p0 R 0:55 ugen -G 8 -EL -g0 -O1 /tmp/ctmfa24281 -o /tmp/ctmca24281 -t /tmp/ctmsta24281 -temp /tmp/ctmgta24281
If it's any consolation, it compiles fine under v4.3a.
John
--
John Hascall ``An ill-chosen word is the fool's messenger.''
Systems Software Engineer
Project Vincent
Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ultrix C compiler lossage
1994-09-04 18:56 ` John Hascall
@ 1994-09-06 21:06 ` Jaye Mathisen
0 siblings, 0 replies; 4+ messages in thread
From: Jaye Mathisen @ 1994-09-06 21:06 UTC (permalink / raw)
Hmmm, As I recall, it just seems to take a long time, not that
it doesn't finish. Compile it with gcc, or if you want, I can
ship you a binary or something.
--
Jaye Mathisen, COE Systems Manager (406) 994-4780
410 Roberts Hall,Dept. of Computer Science
Montana State University,Bozeman MT 59717 osyjm@cs.montana.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wanted: DEC DSP3210 disk drive specs
[not found] ` <1994Nov1.185124.19879@MITL.Research.Panasonic.COM>
@ 1994-11-02 5:42 ` Jerry Leslie
0 siblings, 0 replies; 4+ messages in thread
From: Jerry Leslie @ 1994-11-02 5:42 UTC (permalink / raw)
Yuh-Lin Chang (yuhlin@MITL.Research.Panasonic.COM) wrote:
: Hello world! We are trying to simulate I/O systems and we
: need the spec for the DEC DSP3210 disk drive. We'd like
: to know things like its seek-time profile, # of zones,
: track skewing, caching, etc. I've called up DEC's local
: sales people and their national STORWORK, but they were
: not very resourceful. So, does anybody have these data
: or know where to find them? Thanks in advance.
: yuhlin
: --
: MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
: M M
: M Yuh-Lin Chang, Scientist M
: M Matsushita Information Technology Lab M
: M Two Research Way M
: M Princeton, NJ 08540-6628 M
: M Direct phone: (609)734-7345 M
: M Receptionist: (609)734-0800 M
: M Fax: (609)987-8827 M
: M e-mail: yuhlin@mitl.research.panasonic.com M
: M M
: MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
You can contact DIGISupply, 713/681-8844, and ask for Bill Bahr.
We've purchased several DSP3210s, for our VAXStation, ALPHA 3500,
and IBM RS/6000. I'd offer to fax the info you need, but the book
is at work and I'm still on medical leave for another week.
--Gerald (Jerry) R. Leslie
Staff Engineer
Dynamic Matrix Control Corporation (my opinions are my own)
P.O. Box 721648 9896 Bissonnet
Houston, Texas 77272 Houston, Texas, 77036
713/272-5065 713/272-5200 (fax)
gleslie@isvsrv.enet.dec.com
jleslie@dmccorp.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-11-02 5:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-03 0:50 Ultrix C compiler lossage *Hobbit*
1994-09-04 18:56 ` John Hascall
1994-09-06 21:06 ` Jaye Mathisen
[not found] ` <1994Nov1.185124.19879@MITL.Research.Panasonic.COM>
1994-11-02 5:42 ` Wanted: DEC DSP3210 disk drive specs Jerry Leslie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox