Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Federico Mena Quintero
Federico Mena Quintero boosted
Jan :rust: :ferris:
@janriemer@floss.social  路  activity timestamp 23 hours ago

The #Rust #compiler #performance #survey 2025 only runs until next Monday, 7th July - so fill it if you haven't yet and help the Rust project make us Rust developers more productive! 馃殌

https://blog.rust-lang.org/2025/06/16/rust-compiler-performance-survey-2025/

#RustLang

  • Copy link
  • Flag this post
  • Block
Joel Michael
Joel Michael boosted
Brian Swetland
@swetland@chaos.social  路  activity timestamp 5 days ago

Writing some tests...

#compiler #assembler #projects #preprocessor


#define TESTxLI(name, v) \
	name: ;\
	jal x31, @2 ;\
	.word v ;\
	ldw x20, (x31) ;\
	li x21, v ;\
	beq x20, x21, @2 ;\
	j fail

	TESTxLI(li00, 0);
	TESTxLI(li01, 42);
	TESTxLI(li02, 0x80000000)
	TESTxLI(li03, 0xa7a5a3a1)
	TESTxLI(li04, 0x00008000)
	TESTxLI(li05, 0x12340000)
	TESTxLI(li06, 0x87654321)
	TESTxLI(li07, 0xffffffff)
	TESTxLI(li08, 0xfcffffff)
#define TESTxLI(name, v) \ name: ;\ jal x31, @2 ;\ .word v ;\ ldw x20, (x31) ;\ li x21, v ;\ beq x20, x21, @2 ;\ j fail TESTxLI(li00, 0); TESTxLI(li01, 42); TESTxLI(li02, 0x80000000) TESTxLI(li03, 0xa7a5a3a1) TESTxLI(li04, 0x00008000) TESTxLI(li05, 0x12340000) TESTxLI(li06, 0x87654321) TESTxLI(li07, 0xffffffff) TESTxLI(li08, 0xfcffffff)
#define TESTxLI(name, v) \ name: ;\ jal x31, @2 ;\ .word v ;\ ldw x20, (x31) ;\ li x21, v ;\ beq x20, x21, @2 ;\ j fail TESTxLI(li00, 0); TESTxLI(li01, 42); TESTxLI(li02, 0x80000000) TESTxLI(li03, 0xa7a5a3a1) TESTxLI(li04, 0x00008000) TESTxLI(li05, 0x12340000) TESTxLI(li06, 0x87654321) TESTxLI(li07, 0xffffffff) TESTxLI(li08, 0xfcffffff)
  • Copy link
  • Flag this post
  • Block
Log in

Bonfire social

This is a bonfire demo instance for testing purposes

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.0-rc.1.30 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct