浏览代码

+ test for #26791, meanwhile fixed

git-svn-id: trunk@43797 -
florian 5 年之前
父节点
当前提交
94d222ba69
共有 2 个文件被更改,包括 13 次插入0 次删除
  1. 1 0
      .gitattributes
  2. 12 0
      tests/webtbs/tw26791.pp

+ 1 - 0
.gitattributes

@@ -17347,6 +17347,7 @@ tests/webtbs/tw26749.pp svneol=native#text/pascal
 tests/webtbs/tw2676.pp svneol=native#text/plain
 tests/webtbs/tw26773.pp svneol=native#text/plain
 tests/webtbs/tw2678.pp svneol=native#text/plain
+tests/webtbs/tw26791.pp svneol=native#text/pascal
 tests/webtbs/tw2690.pp svneol=native#text/plain
 tests/webtbs/tw2691.pp svneol=native#text/plain
 tests/webtbs/tw26922.pp svneol=native#text/pascal

+ 12 - 0
tests/webtbs/tw26791.pp

@@ -0,0 +1,12 @@
+{ %opt=-vw -Sew }
+{ %cpu=x86_64,i386 }
+Function Fast_ReciprocalSquareRoot(number: Single): Single;
+    Begin
+        Asm
+            RSQRTSS number, %xmm0
+            MOVLPS %xmm0, __Result
+        End ['xmm0'];
+    End;
+    
+begin
+end.