Compiler optimization is when you surprise people, the more surprising, the more optimized your program is :cirnothinking:
Notices by Sun Microdevil Pte Ltd (koakuma@uwu.social), page 3
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Tuesday, 11-Mar-2025 18:07:25 JST Sun Microdevil Pte Ltd
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Tuesday, 11-Mar-2025 00:52:40 JST Sun Microdevil Pte Ltd
@flandrescarlet @secalinum Flan expert in bullying...
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Monday, 10-Mar-2025 07:32:06 JST Sun Microdevil Pte Ltd
@flandrescarlet @ezio ppc64el = ppc64le = little endian thoooo
The big endian one is the one without any ending whatsoever :blobcatpeekaboo:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Monday, 10-Mar-2025 07:32:04 JST Sun Microdevil Pte Ltd
@ezio @flandrescarlet Distro naming being great as usual
Same with how some calls 64-bit x86 `x86_64` and others `amd64`, and yet others `x64` :blobcatpeekaboo:
In any case if you want big endian 64-bit PowerPC then you look for `ppc64`
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Monday, 10-Mar-2025 00:38:56 JST Sun Microdevil Pte Ltd
@lain Is the dates the khenaizi one? :blobcatmelt:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Sunday, 09-Mar-2025 18:10:51 JST Sun Microdevil Pte Ltd
@jeffpc Yeah, it seems like GNU tools adds and reads the `gnu` attribute sections in the binary
Though weird objdump results aside, the lack of it doesn't seem to affect anything else :cirnothinking:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Sunday, 09-Mar-2025 01:24:11 JST Sun Microdevil Pte Ltd
Anyone here familiar with SPARC binutils internals? I'm having a rather odd case where the same instruction (and same binary sequence) gets interpreted differently depending on who compiles it :cirnothinking:
Say, I have this `decode.s` file containing the following line:
decode: addxccc %g0, %g0, %g0One VIS3 instruction, very simple. Then assemble it with both gcc and clang:
gcc -mcpu=niagara4 -c decode.s -o decode-gcc.o
clang -mcpu=niagara4 -c decode.s -o decode-clang.oAnd now, if I run objdump on the files, the results are different:
decode-clang.o: file format elf64-sparcDisassembly of section .text:
0000000000000000 <decode>:
0: 81 b0 02 60 unknownCompare with GCC's:
decode-gcc.o: file format elf64-sparcDisassembly of section .text:
0000000000000000 <decode>:
0: 81 b0 02 60 addxccc %g0, %g0, %g0In both cases the binary stream is the same, but why does objdump decodes it as "unknown" with the clang-built file?
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Saturday, 08-Mar-2025 00:58:10 JST Sun Microdevil Pte Ltd
@q66 @lanodan Any help with lld bringup will be much much appreciated btw :blobcatpeekaboo:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Saturday, 08-Mar-2025 00:54:32 JST Sun Microdevil Pte Ltd
@q66 @lanodan For llvm, as far as the compiler goes, it should be able to compile the kernel and most of the userland, with some caveats:
- Need support in the assembler for more extensions; OpenSSL is a big offender here for its love of extensions
- It doesn't have OpenMP support yet
- Need libcall-free lowering for checked arithmetic builtins; this affects stuff like GRUB which rely on it
I'm currently working on the first two issues so hoooooooppppeefully those can be sorted out soonOn the other hand, lld support for SPARC is basically still nil :char_nachoneko_baa:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Friday, 07-Mar-2025 22:32:00 JST Sun Microdevil Pte Ltd
@kaia Maybe he's important :cirnothinking:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Thursday, 20-Feb-2025 21:27:02 JST Sun Microdevil Pte Ltd
@puniko ch
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Thursday, 20-Feb-2025 17:16:38 JST Sun Microdevil Pte Ltd
@lain What about Dongjing
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Wednesday, 19-Feb-2025 18:05:44 JST Sun Microdevil Pte Ltd
@SuperDicq Means good job security for me :sataniaSmug:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Sunday, 16-Feb-2025 23:42:25 JST Sun Microdevil Pte Ltd
@kaia Nowadays you have tax cuts if you register as a couple so the end result's not that different :akkoderp:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Sunday, 16-Feb-2025 05:04:36 JST Sun Microdevil Pte Ltd
@lain Is this the one with mint?
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Saturday, 15-Feb-2025 09:43:53 JST Sun Microdevil Pte Ltd
:cirnothinking: how does it feel to fall in love with someone, by the way?
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Wednesday, 12-Feb-2025 01:20:16 JST Sun Microdevil Pte Ltd
@puniko Drunk puni soon :blobcatpeekaboo:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Monday, 10-Feb-2025 07:35:37 JST Sun Microdevil Pte Ltd
@q66 @aroma @theresnotime Meanwhile people here running 3m wide trains on 1067mm rails :02lurk:
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Saturday, 08-Feb-2025 23:40:15 JST Sun Microdevil Pte Ltd
@SuperDicq Is it intentional
-
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Friday, 07-Feb-2025 21:17:33 JST Sun Microdevil Pte Ltd
@kaia It turns kaia on? :cirnothinking: