Bladeren bron

fw: force instructions in irqasm.S to be aligned

For this code, branch target alignment matters more than size.
H. Peter Anvin 3 jaren geleden
bovenliggende
commit
9535001a01
6 gewijzigde bestanden met toevoegingen van 3509 en 3505 verwijderingen
  1. BIN
      fpga/output_files/max80.jbc
  2. BIN
      fpga/output_files/max80.jic
  3. BIN
      fpga/output_files/max80.pof
  4. BIN
      fpga/output_files/max80.sof
  5. 3505 3505
      fw/boot.mif
  6. 4 0
      fw/irqasm.S

BIN
fpga/output_files/max80.jbc


BIN
fpga/output_files/max80.jic


BIN
fpga/output_files/max80.pof


BIN
fpga/output_files/max80.sof


File diff suppressed because it is too large
+ 3505 - 3505
fw/boot.mif


+ 4 - 0
fw/irqasm.S

@@ -5,7 +5,10 @@
 	// use the saved registers here, no saving needed.
 	// registers need to be 
 	.pushsection ".init.irq","ax"
+	.balign 4
 	.globl _irq
+	.option push
+	.option norvc	// Alignment matters more here
 _irq:
 	addqxi sp,sp,0
 	
@@ -55,3 +58,4 @@ _irq:
 	mret
 	.type _irq, @function
 	.size _irq, . - _irq
+	.option pop

Some files were not shown because too many files changed in this diff