2004-12-09 11:57:38 +00:00
|
|
|
#!/usr/bin/env perl
|
|
|
|
#
|
|
|
|
# ====================================================================
|
|
|
|
# Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL
|
2006-10-17 07:00:23 +00:00
|
|
|
# project. The module is, however, dual licensed under OpenSSL and
|
|
|
|
# CRYPTOGAMS licenses depending on where you obtain it. For further
|
|
|
|
# details see http://www.openssl.org/~appro/cryptogams/.
|
2004-12-09 11:57:38 +00:00
|
|
|
# ====================================================================
|
|
|
|
#
|
|
|
|
# Eternal question is what's wrong with compiler generated code? The
|
|
|
|
# trick is that it's possible to reduce the number of shifts required
|
|
|
|
# to perform rotations by maintaining copy of 32-bit value in upper
|
|
|
|
# bits of 64-bit register. Just follow mux2 and shrp instructions...
|
|
|
|
# Performance under big-endian OS such as HP-UX is 179MBps*1GHz, which
|
2006-10-17 07:00:23 +00:00
|
|
|
# is >50% better than HP C and >2x better than gcc.
|
2004-12-09 11:57:38 +00:00
|
|
|
|
|
|
|
$code=<<___;
|
2011-11-14 20:45:57 +00:00
|
|
|
.ident \"sha1-ia64.s, version 1.3\"
|
2004-12-09 11:57:38 +00:00
|
|
|
.ident \"IA-64 ISA artwork by Andy Polyakov <appro\@fy.chalmers.se>\"
|
|
|
|
.explicit
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
if ($^O eq "hpux") {
|
|
|
|
$ADDP="addp4";
|
|
|
|
for (@ARGV) { $ADDP="add" if (/[\+DD|\-mlp]64/); }
|
|
|
|
} else { $ADDP="add"; }
|
|
|
|
|
|
|
|
#$human=1;
|
|
|
|
if ($human) { # useful for visual code auditing...
|
2011-11-14 20:45:57 +00:00
|
|
|
($A,$B,$C,$D,$E) = ("A","B","C","D","E");
|
2004-12-09 11:57:38 +00:00
|
|
|
($h0,$h1,$h2,$h3,$h4) = ("h0","h1","h2","h3","h4");
|
|
|
|
($K_00_19, $K_20_39, $K_40_59, $K_60_79) =
|
|
|
|
( "K_00_19","K_20_39","K_40_59","K_60_79" );
|
|
|
|
@X= ( "X0", "X1", "X2", "X3", "X4", "X5", "X6", "X7",
|
|
|
|
"X8", "X9","X10","X11","X12","X13","X14","X15" );
|
|
|
|
}
|
|
|
|
else {
|
2011-11-14 20:45:57 +00:00
|
|
|
($A,$B,$C,$D,$E) = ("loc0","loc1","loc2","loc3","loc4");
|
|
|
|
($h0,$h1,$h2,$h3,$h4) = ("loc5","loc6","loc7","loc8","loc9");
|
2004-12-09 11:57:38 +00:00
|
|
|
($K_00_19, $K_20_39, $K_40_59, $K_60_79) =
|
2011-11-14 20:45:57 +00:00
|
|
|
( "r14", "r15", "loc10", "loc11" );
|
2004-12-09 11:57:38 +00:00
|
|
|
@X= ( "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23",
|
|
|
|
"r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31" );
|
|
|
|
}
|
|
|
|
|
|
|
|
sub BODY_00_15 {
|
|
|
|
local *code=shift;
|
2011-11-14 20:45:57 +00:00
|
|
|
my ($i,$a,$b,$c,$d,$e)=@_;
|
|
|
|
my $j=$i+1;
|
|
|
|
my $Xn=@X[$j%16];
|
2004-12-09 11:57:38 +00:00
|
|
|
|
2007-05-13 15:15:24 +00:00
|
|
|
$code.=<<___ if ($i==0);
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; ld1 $X[$i]=[inp],2 // MSB
|
2007-05-13 15:15:24 +00:00
|
|
|
ld1 tmp2=[tmp3],2 };;
|
|
|
|
{ .mmi; ld1 tmp0=[inp],2
|
|
|
|
ld1 tmp4=[tmp3],2 // LSB
|
2011-11-14 20:45:57 +00:00
|
|
|
dep $X[$i]=$X[$i],tmp2,8,8 };;
|
2004-12-09 11:57:38 +00:00
|
|
|
___
|
|
|
|
if ($i<15) {
|
|
|
|
$code.=<<___;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; ld1 $Xn=[inp],2 // forward Xload
|
|
|
|
nop.m 0x0
|
2007-05-13 15:15:24 +00:00
|
|
|
dep tmp1=tmp0,tmp4,8,8 };;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; ld1 tmp2=[tmp3],2 // forward Xload
|
2007-05-13 15:15:24 +00:00
|
|
|
and tmp4=$c,$b
|
2011-11-14 20:45:57 +00:00
|
|
|
dep $X[$i]=$X[$i],tmp1,16,16} //;;
|
|
|
|
{ .mmi; add $e=$e,$K_00_19 // e+=K_00_19
|
|
|
|
andcm tmp1=$d,$b
|
2007-05-13 15:15:24 +00:00
|
|
|
dep.z tmp5=$a,5,27 };; // a<<5
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; add $e=$e,$X[$i] // e+=Xload
|
|
|
|
or tmp4=tmp4,tmp1 // F_00_19(b,c,d)=(b&c)|(~b&d)
|
2004-12-09 11:57:38 +00:00
|
|
|
extr.u tmp1=$a,27,5 };; // a>>27
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; ld1 tmp0=[inp],2 // forward Xload
|
|
|
|
add $e=$e,tmp4 // e+=F_00_19(b,c,d)
|
2004-12-09 11:57:38 +00:00
|
|
|
shrp $b=tmp6,tmp6,2 } // b=ROTATE(b,30)
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; ld1 tmp4=[tmp3],2 // forward Xload
|
2007-05-13 15:15:24 +00:00
|
|
|
or tmp5=tmp1,tmp5 // ROTATE(a,5)
|
2004-12-09 11:57:38 +00:00
|
|
|
mux2 tmp6=$a,0x44 };; // see b in next iteration
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mii; add $e=$e,tmp5 // e+=ROTATE(a,5)
|
|
|
|
dep $Xn=$Xn,tmp2,8,8 // forward Xload
|
|
|
|
mux2 $X[$i]=$X[$i],0x44 } //;;
|
2004-12-09 11:57:38 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$code.=<<___;
|
2007-05-13 15:15:24 +00:00
|
|
|
{ .mii; and tmp3=$c,$b
|
|
|
|
dep tmp1=tmp0,tmp4,8,8;;
|
2011-11-14 20:45:57 +00:00
|
|
|
dep $X[$i]=$X[$i],tmp1,16,16} //;;
|
|
|
|
{ .mmi; add $e=$e,$K_00_19 // e+=K_00_19
|
|
|
|
andcm tmp1=$d,$b
|
2007-05-13 15:15:24 +00:00
|
|
|
dep.z tmp5=$a,5,27 };; // a<<5
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; add $e=$e,$X[$i] // e+=Xupdate
|
|
|
|
or tmp4=tmp3,tmp1 // F_00_19(b,c,d)=(b&c)|(~b&d)
|
2004-12-09 11:57:38 +00:00
|
|
|
extr.u tmp1=$a,27,5 } // a>>27
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; xor $Xn=$Xn,$X[($j+2)%16] // forward Xupdate
|
|
|
|
xor tmp3=$X[($j+8)%16],$X[($j+13)%16] // forward Xupdate
|
2004-12-09 11:57:38 +00:00
|
|
|
nop.i 0 };;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; add $e=$e,tmp4 // e+=F_00_19(b,c,d)
|
|
|
|
xor $Xn=$Xn,tmp3 // forward Xupdate
|
2004-12-09 11:57:38 +00:00
|
|
|
shrp $b=tmp6,tmp6,2 } // b=ROTATE(b,30)
|
|
|
|
{ .mmi; or tmp1=tmp1,tmp5 // ROTATE(a,5)
|
|
|
|
mux2 tmp6=$a,0x44 };; // see b in next iteration
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mii; add $e=$e,tmp1 // e+=ROTATE(a,5)
|
|
|
|
shrp $Xn=$Xn,$Xn,31 // ROTATE(x[0]^x[2]^x[8]^x[13],1)
|
|
|
|
mux2 $X[$i]=$X[$i],0x44 };;
|
2004-12-09 11:57:38 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sub BODY_16_19 {
|
|
|
|
local *code=shift;
|
2011-11-14 20:45:57 +00:00
|
|
|
my ($i,$a,$b,$c,$d,$e)=@_;
|
|
|
|
my $j=$i+1;
|
|
|
|
my $Xn=@X[$j%16];
|
2004-12-09 11:57:38 +00:00
|
|
|
|
|
|
|
$code.=<<___;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mib; add $e=$e,$K_00_19 // e+=K_00_19
|
2004-12-09 11:57:38 +00:00
|
|
|
dep.z tmp5=$a,5,27 } // a<<5
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mib; andcm tmp1=$d,$b
|
|
|
|
and tmp0=$c,$b };;
|
|
|
|
{ .mmi; add $e=$e,$X[$i%16] // e+=Xupdate
|
|
|
|
or tmp0=tmp0,tmp1 // F_00_19(b,c,d)=(b&c)|(~b&d)
|
2004-12-09 11:57:38 +00:00
|
|
|
extr.u tmp1=$a,27,5 } // a>>27
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; xor $Xn=$Xn,$X[($j+2)%16] // forward Xupdate
|
|
|
|
xor tmp3=$X[($j+8)%16],$X[($j+13)%16] // forward Xupdate
|
2004-12-09 11:57:38 +00:00
|
|
|
nop.i 0 };;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; add $e=$e,tmp0 // f+=F_00_19(b,c,d)
|
|
|
|
xor $Xn=$Xn,tmp3 // forward Xupdate
|
2004-12-09 11:57:38 +00:00
|
|
|
shrp $b=tmp6,tmp6,2 } // b=ROTATE(b,30)
|
|
|
|
{ .mmi; or tmp1=tmp1,tmp5 // ROTATE(a,5)
|
|
|
|
mux2 tmp6=$a,0x44 };; // see b in next iteration
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mii; add $e=$e,tmp1 // e+=ROTATE(a,5)
|
|
|
|
shrp $Xn=$Xn,$Xn,31 // ROTATE(x[0]^x[2]^x[8]^x[13],1)
|
2004-12-09 11:57:38 +00:00
|
|
|
nop.i 0 };;
|
|
|
|
|
|
|
|
___
|
|
|
|
}
|
|
|
|
|
|
|
|
sub BODY_20_39 {
|
|
|
|
local *code=shift;
|
2011-11-14 20:45:57 +00:00
|
|
|
my ($i,$a,$b,$c,$d,$e,$Konst)=@_;
|
2004-12-09 11:57:38 +00:00
|
|
|
$Konst = $K_20_39 if (!defined($Konst));
|
2011-11-14 20:45:57 +00:00
|
|
|
my $j=$i+1;
|
|
|
|
my $Xn=@X[$j%16];
|
2004-12-09 11:57:38 +00:00
|
|
|
|
|
|
|
if ($i<79) {
|
|
|
|
$code.=<<___;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mib; add $e=$e,$Konst // e+=K_XX_XX
|
2004-12-09 11:57:38 +00:00
|
|
|
dep.z tmp5=$a,5,27 } // a<<5
|
|
|
|
{ .mib; xor tmp0=$c,$b
|
2011-11-14 20:45:57 +00:00
|
|
|
xor $Xn=$Xn,$X[($j+2)%16] };; // forward Xupdate
|
|
|
|
{ .mib; add $e=$e,$X[$i%16] // e+=Xupdate
|
2004-12-09 11:57:38 +00:00
|
|
|
extr.u tmp1=$a,27,5 } // a>>27
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mib; xor tmp0=tmp0,$d // F_20_39(b,c,d)=b^c^d
|
|
|
|
xor $Xn=$Xn,$X[($j+8)%16] };; // forward Xupdate
|
|
|
|
{ .mmi; add $e=$e,tmp0 // e+=F_20_39(b,c,d)
|
|
|
|
xor $Xn=$Xn,$X[($j+13)%16] // forward Xupdate
|
2004-12-09 11:57:38 +00:00
|
|
|
shrp $b=tmp6,tmp6,2 } // b=ROTATE(b,30)
|
|
|
|
{ .mmi; or tmp1=tmp1,tmp5 // ROTATE(a,5)
|
|
|
|
mux2 tmp6=$a,0x44 };; // see b in next iteration
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mii; add $e=$e,tmp1 // e+=ROTATE(a,5)
|
|
|
|
shrp $Xn=$Xn,$Xn,31 // ROTATE(x[0]^x[2]^x[8]^x[13],1)
|
2004-12-09 11:57:38 +00:00
|
|
|
nop.i 0 };;
|
|
|
|
|
|
|
|
___
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$code.=<<___;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mib; add $e=$e,$Konst // e+=K_60_79
|
2004-12-09 11:57:38 +00:00
|
|
|
dep.z tmp5=$a,5,27 } // a<<5
|
|
|
|
{ .mib; xor tmp0=$c,$b
|
|
|
|
add $h1=$h1,$a };; // wrap up
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mib; add $e=$e,$X[$i%16] // e+=Xupdate
|
|
|
|
extr.u tmp1=$a,27,5 } // a>>27
|
|
|
|
{ .mib; xor tmp0=tmp0,$d // F_20_39(b,c,d)=b^c^d
|
2004-12-09 11:57:38 +00:00
|
|
|
add $h3=$h3,$c };; // wrap up
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; add $e=$e,tmp0 // e+=F_20_39(b,c,d)
|
|
|
|
or tmp1=tmp1,tmp5 // ROTATE(a,5)
|
|
|
|
shrp $b=tmp6,tmp6,2 };; // b=ROTATE(b,30) ;;?
|
|
|
|
{ .mmi; add $e=$e,tmp1 // e+=ROTATE(a,5)
|
|
|
|
add tmp3=1,inp // used in unaligned codepath
|
2004-12-09 11:57:38 +00:00
|
|
|
add $h4=$h4,$d };; // wrap up
|
|
|
|
|
|
|
|
___
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sub BODY_40_59 {
|
|
|
|
local *code=shift;
|
2011-11-14 20:45:57 +00:00
|
|
|
my ($i,$a,$b,$c,$d,$e)=@_;
|
|
|
|
my $j=$i+1;
|
|
|
|
my $Xn=@X[$j%16];
|
2004-12-09 11:57:38 +00:00
|
|
|
|
|
|
|
$code.=<<___;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mib; add $e=$e,$K_40_59 // e+=K_40_59
|
2004-12-09 11:57:38 +00:00
|
|
|
dep.z tmp5=$a,5,27 } // a<<5
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mib; and tmp1=$c,$d
|
|
|
|
xor tmp0=$c,$d };;
|
|
|
|
{ .mmi; add $e=$e,$X[$i%16] // e+=Xupdate
|
|
|
|
add tmp5=tmp5,tmp1 // a<<5+(c&d)
|
2004-12-09 11:57:38 +00:00
|
|
|
extr.u tmp1=$a,27,5 } // a>>27
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; and tmp0=tmp0,$b
|
|
|
|
xor $Xn=$Xn,$X[($j+2)%16] // forward Xupdate
|
|
|
|
xor tmp3=$X[($j+8)%16],$X[($j+13)%16] };; // forward Xupdate
|
|
|
|
{ .mmi; add $e=$e,tmp0 // e+=b&(c^d)
|
|
|
|
add tmp5=tmp5,tmp1 // ROTATE(a,5)+(c&d)
|
2004-12-09 11:57:38 +00:00
|
|
|
shrp $b=tmp6,tmp6,2 } // b=ROTATE(b,30)
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; xor $Xn=$Xn,tmp3
|
2004-12-09 11:57:38 +00:00
|
|
|
mux2 tmp6=$a,0x44 };; // see b in next iteration
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mii; add $e=$e,tmp5 // e+=ROTATE(a,5)+(c&d)
|
|
|
|
shrp $Xn=$Xn,$Xn,31 // ROTATE(x[0]^x[2]^x[8]^x[13],1)
|
|
|
|
nop.i 0x0 };;
|
2004-12-09 11:57:38 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
}
|
|
|
|
sub BODY_60_79 { &BODY_20_39(@_,$K_60_79); }
|
|
|
|
|
|
|
|
$code.=<<___;
|
|
|
|
.text
|
|
|
|
|
|
|
|
tmp0=r8;
|
|
|
|
tmp1=r9;
|
|
|
|
tmp2=r10;
|
|
|
|
tmp3=r11;
|
|
|
|
ctx=r32; // in0
|
|
|
|
inp=r33; // in1
|
|
|
|
|
2006-10-17 16:13:18 +00:00
|
|
|
// void sha1_block_data_order(SHA_CTX *c,const void *p,size_t num);
|
|
|
|
.global sha1_block_data_order#
|
|
|
|
.proc sha1_block_data_order#
|
2004-12-09 11:57:38 +00:00
|
|
|
.align 32
|
2006-10-17 16:13:18 +00:00
|
|
|
sha1_block_data_order:
|
2004-12-09 11:57:38 +00:00
|
|
|
.prologue
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmi; alloc tmp1=ar.pfs,3,14,0,0
|
2004-12-09 11:57:38 +00:00
|
|
|
$ADDP tmp0=4,ctx
|
2005-07-18 09:54:14 +00:00
|
|
|
.save ar.lc,r3
|
2004-12-09 11:57:38 +00:00
|
|
|
mov r3=ar.lc }
|
|
|
|
{ .mmi; $ADDP ctx=0,ctx
|
|
|
|
$ADDP inp=0,inp
|
|
|
|
mov r2=pr };;
|
|
|
|
tmp4=in2;
|
2011-11-14 20:45:57 +00:00
|
|
|
tmp5=loc12;
|
|
|
|
tmp6=loc13;
|
2004-12-09 11:57:38 +00:00
|
|
|
.body
|
|
|
|
{ .mlx; ld4 $h0=[ctx],8
|
|
|
|
movl $K_00_19=0x5a827999 }
|
|
|
|
{ .mlx; ld4 $h1=[tmp0],8
|
|
|
|
movl $K_20_39=0x6ed9eba1 };;
|
|
|
|
{ .mlx; ld4 $h2=[ctx],8
|
|
|
|
movl $K_40_59=0x8f1bbcdc }
|
|
|
|
{ .mlx; ld4 $h3=[tmp0]
|
|
|
|
movl $K_60_79=0xca62c1d6 };;
|
|
|
|
{ .mmi; ld4 $h4=[ctx],-16
|
|
|
|
add in2=-1,in2 // adjust num for ar.lc
|
|
|
|
mov ar.ec=1 };;
|
|
|
|
{ .mmi; nop.m 0
|
|
|
|
add tmp3=1,inp
|
|
|
|
mov ar.lc=in2 };; // brp.loop.imp: too far
|
|
|
|
|
|
|
|
.Ldtop:
|
|
|
|
{ .mmi; mov $A=$h0
|
|
|
|
mov $B=$h1
|
|
|
|
mux2 tmp6=$h1,0x44 }
|
|
|
|
{ .mmi; mov $C=$h2
|
|
|
|
mov $D=$h3
|
|
|
|
mov $E=$h4 };;
|
|
|
|
|
|
|
|
___
|
|
|
|
|
2011-11-14 20:45:57 +00:00
|
|
|
{ my $i,@V=($A,$B,$C,$D,$E);
|
2004-12-09 11:57:38 +00:00
|
|
|
|
2007-05-13 15:15:24 +00:00
|
|
|
for($i=0;$i<16;$i++) { &BODY_00_15(\$code,$i,@V); unshift(@V,pop(@V)); }
|
2006-10-17 07:00:23 +00:00
|
|
|
for(;$i<20;$i++) { &BODY_16_19(\$code,$i,@V); unshift(@V,pop(@V)); }
|
|
|
|
for(;$i<40;$i++) { &BODY_20_39(\$code,$i,@V); unshift(@V,pop(@V)); }
|
|
|
|
for(;$i<60;$i++) { &BODY_40_59(\$code,$i,@V); unshift(@V,pop(@V)); }
|
|
|
|
for(;$i<80;$i++) { &BODY_60_79(\$code,$i,@V); unshift(@V,pop(@V)); }
|
2004-12-09 11:57:38 +00:00
|
|
|
|
2011-11-14 20:45:57 +00:00
|
|
|
(($V[0] eq $A) and ($V[4] eq $E)) or die; # double-check
|
2006-10-17 07:00:23 +00:00
|
|
|
}
|
2004-12-09 11:57:38 +00:00
|
|
|
|
|
|
|
$code.=<<___;
|
2011-11-14 20:45:57 +00:00
|
|
|
{ .mmb; add $h0=$h0,$A
|
|
|
|
add $h2=$h2,$C
|
2004-12-09 11:57:38 +00:00
|
|
|
br.ctop.dptk.many .Ldtop };;
|
|
|
|
.Ldend:
|
|
|
|
{ .mmi; add tmp0=4,ctx
|
|
|
|
mov ar.lc=r3 };;
|
|
|
|
{ .mmi; st4 [ctx]=$h0,8
|
|
|
|
st4 [tmp0]=$h1,8 };;
|
|
|
|
{ .mmi; st4 [ctx]=$h2,8
|
|
|
|
st4 [tmp0]=$h3 };;
|
|
|
|
{ .mib; st4 [ctx]=$h4,-16
|
|
|
|
mov pr=r2,0x1ffff
|
|
|
|
br.ret.sptk.many b0 };;
|
2006-10-17 16:13:18 +00:00
|
|
|
.endp sha1_block_data_order#
|
2007-05-13 15:15:24 +00:00
|
|
|
stringz "SHA1 block transform for IA64, CRYPTOGAMS by <appro\@openssl.org>"
|
2004-12-09 11:57:38 +00:00
|
|
|
___
|
|
|
|
|
2008-01-13 17:43:11 +00:00
|
|
|
$output=shift and open STDOUT,">$output";
|
2004-12-09 11:57:38 +00:00
|
|
|
print $code;
|