瀏覽代碼

fw: force instructions in irqasm.S to be aligned

For this code, branch target alignment matters more than size.
H. Peter Anvin 3 年之前
父節點
當前提交
9535001a01
共有 6 個文件被更改,包括 3509 次插入3505 次删除
  1. 二進制
      fpga/output_files/max80.jbc
  2. 二進制
      fpga/output_files/max80.jic
  3. 二進制
      fpga/output_files/max80.pof
  4. 二進制
      fpga/output_files/max80.sof
  5. 3505 3505
      fw/boot.mif
  6. 4 0
      fw/irqasm.S

二進制
fpga/output_files/max80.jbc


二進制
fpga/output_files/max80.jic


二進制
fpga/output_files/max80.pof


二進制
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